diff --git a/docs/reference/commandline/run.md b/docs/reference/commandline/run.md index 247e60a17e..0f7dc23691 100644 --- a/docs/reference/commandline/run.md +++ b/docs/reference/commandline/run.md @@ -681,7 +681,7 @@ any number of minor numbers (added as new devices appear), add the following rule: ```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 ` diff --git a/man/src/container/create-example.md b/man/src/container/create-example.md index d6b4bd7e87..87ab1afb46 100644 --- a/man/src/container/create-example.md +++ b/man/src/container/create-example.md @@ -25,7 +25,7 @@ any number of minor number (added as new devices appear), the following rule would be added: ```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 `