How do i check the mapped ports on a docker container?



  • The c7c665e0f24d container has nginx running on it and has port 80 open by default.

    Running docker port will show the mapped ports.

    $ docker port c7c665e0f24d
    80/tcp -> 0.0.0.0:32772
    

Log in to reply
 

© Lightnetics 2024