Upload
aditya-patawari
View
3.069
Download
5
Embed Size (px)
Citation preview
Networking Overview for Docker Platform
Aditya Patawari
Consultant and Trainer for Docker, Ansible and DevOps Tools
adimania on freenode irc
http://adityapatawari.com
July 8, 2016
Aditya Patawari Networking Overview for Docker Platform
Topics
What is the problem?
Default Networks in Docker
Docker Bridge Network
Docker Host Network
Docker None Network
User Defined Networks
Docker Bridge Network
Docker Overlay Network
Aditya Patawari Networking Overview for Docker Platform
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
Default Networks in Docker
None
Host
Bridge
Aditya Patawari Networking Overview for Docker Platform
Docker Bridge Network
Created when the Docker daemon is started for first time
Containers are started in this network by default
Enables container to container communication within samehost
Aditya Patawari Networking Overview for Docker Platform
Docker Host Network
Adds the container on the host’s network stack
Identical network as the host
Aditya Patawari Networking Overview for Docker Platform
Docker None Network
No network connectivity
Great for security sensitive processing
Aditya Patawari Networking Overview for Docker Platform
User Defined Networks
Bridge
Overlay
Custom Network Drivers
Aditya Patawari Networking Overview for Docker Platform
Docker Bridge Network
Create more bridge networks
Great for creating isolation within same host
Aditya Patawari Networking Overview for Docker Platform
Docker Overlay Network
Creates multi-host network
Requires a service discovery KV store like Etcd or Consul
Aditya Patawari Networking Overview for Docker Platform
Docker 1.12
ingress - uses overlay
Swarm manager will use ingress to route external traffic
docker gwbridge - uses bridge
docker gwbridge is created on each worker node
Aditya Patawari Networking Overview for Docker Platform
Questions?
Name: Aditya Patawari
Twitter: https://twitter.com/adityapatawari
Email: [email protected]
Aditya Patawari Networking Overview for Docker Platform