compose icon indicating copy to clipboard operation
compose copied to clipboard

Make PRIVATE_PORT optional for `docker compose port`

Open crazybolillo opened this issue 1 year ago • 1 comments

Description

"Normal" docker already does this. See the usage for docker port:

$ docker port --help

Usage: docker port CONTAINER [PRIVATE_PORT[/PROTO]]

However docker compose differs:

$ docker compose port --help

Usage:  docker compose port [OPTIONS] SERVICE PRIVATE_PORT

I can look into making a PR if you agree this should be optional.

crazybolillo avatar May 29 '24 04:05 crazybolillo

Thanks @artm . Could you provide a screenshot of the rancher-monitoring dashboard ?

torchiaf avatar Jun 25 '24 10:06 torchiaf