Answer the question
In order to leave comments, you need to log in
How to open port for docker container?
There is a fighting machine with a database, and there is a container with a web server and cgi.
Forwarding the port from the container to localhost is understandable, -p=80:80
And docker port will show 80/tcp ->
0.0.0.0:80 to give the database port of the combat server to the docker container is not entirely clear.
How do you do it? What are the ways?
PS The "docker" tag doesn't exist?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question