38.Docker Compose CLI - Port Command

Print the public port for a port binding.

docker compose port result 80
0.0.0.0:5001
➜  example-voting-app git:(main) 

© 2019-2023 @CloudNativeFolks | Documentation Distributed under Apache 2.0 License.


© 2023 Happy to help you with your Cloud Native Journey.