Skip to content

Commit

Permalink
Merge pull request #4679 from thaJeztah/fix_flag_typo
Browse files Browse the repository at this point in the history
docs/man: fix -name flag with single hyphen
  • Loading branch information
thaJeztah authored Nov 27, 2023
2 parents 5aa3077 + 174cbb5 commit 48e8890
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/reference/commandline/run.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <minor>`
Expand Down
2 changes: 1 addition & 1 deletion man/src/container/create-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <minor>`
Expand Down

0 comments on commit 48e8890

Please sign in to comment.