Tag: docker-networking

63 votes
5 answers
387 views
How can I expose more than 1 port with Docker?

So I have 3 ports that should be exposed to the machine's interface. Is it possible to do this with a Doc

avatar
Lashawna
0 1 0 9
asked 07 September, 2021
43 votes
30 answers
2.4K views
From inside of a Docker container, how do I connect to the localhost of the machine?

So I have a Nginx running inside a docker container, I have a mysql running on localhost, I want to connect to

avatar
Hilario
0 1 0 9
asked 07 September, 2021