You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
The text was updated successfully, but these errors were encountered:
I would be very happy if I could take care of it, but I need information from the maintainer, if I can add some switch for docker ps that would format the list of ports. Otherwise please give me some hints how to fix it.
Breaking over multiple lines will probably break a lot of users that use the docker ps output for automation. We can improve the output for consecutive ranges as a start though (as was done for services, in #581)
I did have a look at the "json" representation for this output, but unfortunately in the JSON representation, it's a string as well (not an array/list of ports);
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)
The text was updated successfully, but these errors were encountered: