docs icon indicating copy to clipboard operation
docs copied to clipboard

Small typo in docker run command reference

Open vasilygrz opened this issue 2 years ago • 2 comments

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

vasilygrz avatar Nov 13 '23 15:11 vasilygrz

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

thaJeztah avatar Nov 27 '23 20:11 thaJeztah

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

docker-robot[bot] avatar Mar 15 '24 01:03 docker-robot[bot]

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

docker-robot[bot] avatar Apr 28 '24 03:04 docker-robot[bot]