2024: Domino Containers - The Next Step. News from the Domino Container commu...
Â
Networking Overview for Docker Platform
1. Networking Overview for Docker Platform
Aditya Patawari
Consultant and Trainer for Docker, Ansible and DevOps Tools
aditya@adityapatawari.com
adimania on freenode irc
http://adityapatawari.com
July 8, 2016
Aditya Patawari Networking Overview for Docker Platform
2. Topics
What is the problem?
Default Networks in Docker
Docker Bridge Network
Docker Host Network
Docker None Network
User DeďŹned Networks
Docker Bridge Network
Docker Overlay Network
Aditya Patawari Networking Overview for Docker Platform
3. What is the problem?
Applications are multi-tiered
Applications are dependent on other applications
Applications are dependent on third party APIs
Not all components reside inside the same containers
Aditya Patawari Networking Overview for Docker Platform
4. Default Networks in Docker
None
Host
Bridge
Aditya Patawari Networking Overview for Docker Platform
5. Docker Bridge Network
Created when the Docker daemon is started for ďŹrst time
Containers are started in this network by default
Enables container to container communication within same
host
Aditya Patawari Networking Overview for Docker Platform
6. Docker Host Network
Adds the container on the hostâs network stack
Identical network as the host
Aditya Patawari Networking Overview for Docker Platform
7. Docker None Network
No network connectivity
Great for security sensitive processing
Aditya Patawari Networking Overview for Docker Platform
9. Docker Bridge Network
Create more bridge networks
Great for creating isolation within same host
Aditya Patawari Networking Overview for Docker Platform
10. Docker Overlay Network
Creates multi-host network
Requires a service discovery KV store like Etcd or Consul
Aditya Patawari Networking Overview for Docker Platform
11. Docker 1.12
ingress - uses overlay
Swarm manager will use ingress to route external traďŹc
docker gwbridge - uses bridge
docker gwbridge is created on each worker node
Aditya Patawari Networking Overview for Docker Platform