Small typo in docker run command reference
Is this a docs issue?
- [X] My issue is about the documentation content or website
Type of issue
Information is incorrect
Description
Hi,
I've noticed that a hyphen is missing in --name:
docker run -d --device-cgroup-rule='c 42:* rmw' -name my-container my-image
It should be:
docker run -d --device-cgroup-rule='c 42:* rmw' --name my-container my-image
Location
https://docs.docker.com/engine/reference/commandline/run/#device-cgroup-rule
Suggestion
No response
Thanks for reporting! I opened pull-requests to fix that example;
- https://github.com/docker/cli/pull/4679
- https://github.com/docker/cli/pull/4680
There hasn't been any activity on this issue for a long time.
If the problem is still relevant, mark the issue as fresh with a /remove-lifecycle stale comment.
If not, this issue will be closed in 14 days. This helps our maintainers focus on the active issues.
Prevent issues from auto-closing with a /lifecycle frozen comment.
/lifecycle stale
Closed issues are locked after 30 days of inactivity. This helps our team focus on active issues.
If you have found a problem that seems similar to this, please open a new issue.
/lifecycle locked