Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

group ports to render ranges as ... ranges #8650

Merged
merged 1 commit into from
Sep 23, 2021
Merged

Conversation

ndeloof
Copy link
Contributor

@ndeloof ndeloof commented Sep 21, 2021

Basically copy/pasted docker/cli code as we don't use the moby types so can't just reuse

Resolves #6910

single port output:

NAME                COMMAND                  SERVICE             STATUS              PORTS
sentences_db_1      "docker-entrypoint.s…"   db                  running             
sentences_web_1     "/dispatcher"            web                 running (healthy)   0.0.0.0:90->80/tcp, :::90->80/tcp
sentences_words_1   "java -Xmx8m -Xms8m …"   words               running             0.0.0.0:95->8080/tcp, :::95->8080/tcp

range output

NAME                 COMMAND                  SERVICE             STATUS              PORTS
truc_hello-world_1   "/docker-entrypoint.…"   hello-world         running             0.0.0.0:8080-8090->80-90/tcp, :::8080-8090->80-90/tcp

@ndeloof ndeloof changed the title Merge pull request #8638 from ulyssessouza/fix-ctrl-c-2x-deps group ports to render ranges as ... ranges Sep 21, 2021
@ndeloof ndeloof force-pushed the ps_port_range branch 11 times, most recently from e0ffd83 to e95751c Compare September 22, 2021 06:19
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
@ndeloof ndeloof merged commit 97a0efd into docker:v2 Sep 23, 2021
@ndeloof ndeloof deleted the ps_port_range branch September 23, 2021 13:35
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.

2 participants