Expecting a better way to show a bunch of ports in "docker ps"
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 6.1k
- Forks
- 2.2k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 43
Description
For the guy who run node on docker, or even an OS, there are always a bunch of ports need to be set.
But showing these ports in this way, showing in one line? It's quite difficult to read actually.
Example

I know there's a way to create consecutive ranges of ports with command like "-p 8080-8090:80-90", but sometimes "which port" is not what I can dicide.
So if there's a way can printing ports in one column, rather than one line, it will be very nice.
Expect (similar)

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the docker ps output path and inspect how published ports are currently formatted, along with any existing CLI output tests. Confirm how a multiline or column-based port display should be selected and what the expected output is; done means docker ps presents multiple ports readably without breaking existing output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100