docker / docker/cli

Dockerfile doc: add info it's possible to EXPOSE a port range

Open
#1,562 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

File: docs/reference/builder.md

The Dockerfile reference page does not explicitly says that we can set a range of ports for the EXPOSE instruction. I think it could be a good idea to mention that.

First reported here : docker/docker.github.io#7802

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

Open docs/reference/builder.md and find the EXPOSE instruction documentation. Update it to state that a port range can be specified, using the issue description as the scope. Done means the Dockerfile reference clearly mentions EXPOSE port ranges.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.