Skip to content

docs(run): spell out -p syntax and a port range - #7209

Open
locker95 wants to merge 1 commit into
docker:masterfrom
locker95:docs/publish-port-range
Open

docs(run): spell out -p syntax and a port range#7209
locker95 wants to merge 1 commit into
docker:masterfrom
locker95:docs/publish-port-range

Conversation

@locker95

Copy link
Copy Markdown

-p had one 127.0.0.1 example and no form. added [ip:][hostPort:]containerPort[/protocol] and a host/container range.

Fixes #377

The publish section showed one 127.0.0.1 mapping. Add the
[ip:][hostPort:]containerPort form and a host/container range.

Signed-off-by: Dean Chen <862469039@qq.com>
@locker95
locker95 requested review from a team and thaJeztah as code owners August 18, 2026 05:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

1 participant