Share & learn

Through Innovative Digital Library

How to map port 8080 to remote container port 80

because of firewall requirement need to map port number 8080 to container port 80
 



Answers

Posted by Rajeev on January 16th 2018 15:01 PM

You can consider below command to map with container port.

# docker images

# docker run -d -p 8080:80 nginx

# docker ps
Answer Question

Your email address will not be published. Required fields are marked *

  • Minimum 20 character
ZO45

related questions

Most liked questions

Most answered questions

Login
ZO45 Refresh
Register
ZO45 Refresh
Forgot password
Ask a Question
Minimum 20 character
Minimum 20 character
Reply
Minimum 20 character
ZO45 Refresh