docs: prefer -it over -ti

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
David Karlsson 2024-02-29 13:38:53 +01:00
parent a5b82e9f87
commit d51ba41791
1 changed files with 2 additions and 2 deletions

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`: `1000` IO per second from `/dev/sda`:
```console ```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. 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`: `1000` IO per second to `/dev/sda`:
```console ```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 Both flags take limits in the `<device-path>:<limit>` format. Both read and