diff --git a/docs/reference/commandline/container_run.md b/docs/reference/commandline/container_run.md index a15ace244e..706d43b57b 100644 --- a/docs/reference/commandline/container_run.md +++ b/docs/reference/commandline/container_run.md @@ -1000,7 +1000,7 @@ text. However, if you try the same thing but also adding the `-t` flag, the password is hidden: ```console -$ docker run -i debian passwd root +$ docker run -it debian passwd root New password: Retype new password: passwd: password updated successfully diff --git a/docs/reference/run.md b/docs/reference/run.md index bad35ccf42..ab4a4afceb 100644 --- a/docs/reference/run.md +++ b/docs/reference/run.md @@ -767,7 +767,7 @@ For example, this command creates a container and limits the read rate to `1000` IO per second from `/dev/sda`: ```console -$ docker run -ti --device-read-iops /dev/sda:1000 ubuntu +$ docker run -it --device-read-iops /dev/sda:1000 ubuntu ``` The `--device-write-iops` flag limits write rate (IO per second) to a device. @@ -775,7 +775,7 @@ For example, this command creates a container and limits the write rate to `1000` IO per second to `/dev/sda`: ```console -$ docker run -ti --device-write-iops /dev/sda:1000 ubuntu +$ docker run -it --device-write-iops /dev/sda:1000 ubuntu ``` Both flags take limits in the `:` format. Both read and