From 174cbb588f05091fbb30fe1942145a6bcebbb71d Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Mon, 27 Nov 2023 20:58:55 +0100 Subject: [PATCH] docs/man: fix -name flag with single hyphen Signed-off-by: Sebastiaan van Stijn --- docs/reference/commandline/run.md | 2 +- man/src/container/create-example.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 `