mirror of https://github.com/docker/cli.git
docs/man: fix -name flag with single hyphen
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
5aa3077c36
commit
174cbb588f
|
@ -681,7 +681,7 @@ any number of minor numbers (added as new devices appear), add the
|
||||||
following rule:
|
following rule:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ docker run -d --device-cgroup-rule='c 42:* rmw' -name my-container my-image
|
$ docker run -d --device-cgroup-rule='c 42:* rmw' --name my-container my-image
|
||||||
```
|
```
|
||||||
|
|
||||||
Then, a user could ask `udev` to execute a script that would `docker exec my-container mknod newDevX c 42 <minor>`
|
Then, a user could ask `udev` to execute a script that would `docker exec my-container mknod newDevX c 42 <minor>`
|
||||||
|
|
|
@ -25,7 +25,7 @@ any number of minor number (added as new devices appear), the
|
||||||
following rule would be added:
|
following rule would be added:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ docker create --device-cgroup-rule='c 42:* rmw' -name my-container my-image
|
$ docker create --device-cgroup-rule='c 42:* rmw' --name my-container my-image
|
||||||
```
|
```
|
||||||
|
|
||||||
Then, a user could ask `udev` to execute a script that would `docker exec my-container mknod newDevX c 42 <minor>`
|
Then, a user could ask `udev` to execute a script that would `docker exec my-container mknod newDevX c 42 <minor>`
|
||||||
|
|
Loading…
Reference in New Issue