docker online meetup #29: docker networking is now ga
TRANSCRIPT
Docker Networking1.9.0
Goal• Transform networking like Docker transformed compute
• Distributed application portability
• Simple for users & flexible for operations
• Built-in multi-host networking
• Pluggable networking stack
• Simple and application focussed APIs
Libnetwork• Open Sourced in April
• Over 500 Pull Requests
• ~500 GitHub Stars
Libnetwork
• Docker’s networking library
• Implements CNM
• Enables external network & IPAM plugins
• Built-in network & IPAM drivers
Container Networking Model (CNM)
• Docker networking core
• Abstraction between distributed apps and the networking infra
• Manages the Network Namespace
• 100% backward compatible with legacy Docker networking
Container Network Model (CNM)• Endpoint
• Network
• Sandbox
Whats new in 1.9.0• Docker network exits experimental
• New top-level UX & API : docker network
• Support for multiple micro-segmented networks
• Built-in multihost networking using VXLAN based overlay driver
• Support for third party network plugins
• Ability to dynamically connect containers to multiple networks
• Pluggable and user-defined IP address mgmt
DockerCLI Docker
CLIDocker
CLI
etcd consul zookeeper
Machine discovery
Multi-host networking
Multiple Docker Engines == Swarm
DockerCLI
Managers
Agents
CLIDocker Hub
Token service
etcd
consul
zookeeper
Simple FileMachine discovery
libkv
PRAISE BE TO THE DEMO GODS!
Compose + Swarm + Networking
++ =
...and these wonderful ecosystem plugins
User Guidehttps://github.com/docker/docker/tree/master/docs/userguide/networking
Getting started :http://blog.docker.com/2015/11/docker-1-9-production-ready-swarm-multi-host-networking/
http://container42.com/2015/10/30/docker-networking-reborn/
docker-machine scripts :https://github.com/dave-tucker/docker-network-demos
Resources
http://github.com/docker/libnetwork
#docker-network on freenode
Thank You. Questions?