docker / docker/cli

Better description of --publish for "docker container run"

Open
#377 5 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

kind/docs
Dominant language
Go
Stars
6.1k
Forks
2.2k
Avg merge
1d 15h
Merged PRs (30d)
43

Description

Please better document the possible syntax for the --publish option to docker container run, or link to other documentation where the syntax is described. For example, mapping to a particular host interface or mapping a range of ports.

File: engine/reference/commandline/container_run.md, CC @mstanleyjones

Sorry if this issue doesn't quite fit the standard format. I'm moving it from the website repo.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read engine/reference/commandline/container_run.md and review the linked docker/docker.github.io issue for the existing documentation context. Document or link the --publish syntax for binding a host interface and mapping a range of ports, with the command reference clearly covering the requested cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker
Domain
cli, documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.