Merge pull request #4901 from dvdksn/docs-fix-typo-tty

docs: fix typo in tty example
This commit is contained in:
Sebastiaan van Stijn 2024-02-29 14:53:02 +01:00 committed by GitHub
commit ec35bab4fa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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 `<device-path>:<limit>` format. Both read and