docker-compose help port - Print the public port for a port binding.



  • Print the public port for a port binding.
    
    Usage: port [options] SERVICE PRIVATE_PORT
    
    Options:
        --protocol=proto  tcp or udp [default: tcp]
        --index=index     index of the container if there are multiple
    		      instances of a service [default: 1]
    

Log in to reply
 

© Lightnetics 2019