Top "Docker-networking" questions

For questions about the network configuration of the docker service or of the containers running in it.

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 …

nginx docker reverse-proxy docker-networking
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 …

docker docker-networking
Docker Networking - nginx: [emerg] host not found in upstream

I have recently started migrating to Docker 1.9 and Docker-Compose 1.5's networking features to replace using links. So far with links …

nginx docker docker-compose docker-networking
What does --net=host option in Docker command really do?

I'm a little bit beginner to Docker. I couldn't find any clear description of what this option does in docker …

docker docker-networking
Docker Networking Disabled: WARNING: IPv4 forwarding is disabled. Networking will not work

Containers in a host "suddenly" loses connection to outside-world containers. However, some hosts were refreshed and suddenly we had the …

docker docker-networking
Start container with multiple network interfaces

With 1.9, is there a way to start a container directly with two or more network interfaces? You can do it …

docker docker-networking
Docker Network not Found

In our team, we are currently transitioning to Docker to deploy everything on our server. We are using Docker Swarm …

docker docker-swarm docker-networking
Docker compose yml static IP addressing

I have such docker-compose.yml (not a full list here): version: '2' services: nginx: build: ./nginx/ ports: - 8080:80 links: …

docker-compose docker-networking
Restrict Internet Access - Docker Container

I have a situation to restrict internet access of the container in load balancer network. for example in that below …

docker docker-networking
How make openvpn work with docker

I have recently installed privacy vpn, and it turns out that enabled openvpn breaks docker. When I try to run …

docker debian openvpn docker-networking