docker online meetup #29: docker networking is now ga

14
Docker Networking 1.9.0

Upload: docker-inc

Post on 23-Jan-2017

4.545 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Docker Online Meetup #29: Docker Networking is Now GA

Docker Networking1.9.0

Page 2: Docker Online Meetup #29: Docker Networking is Now GA

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

Page 3: Docker Online Meetup #29: Docker Networking is Now GA

Libnetwork• Open Sourced in April

• Over 500 Pull Requests

• ~500 GitHub Stars

Page 4: Docker Online Meetup #29: Docker Networking is Now GA

Libnetwork

• Docker’s networking library

• Implements CNM

• Enables external network & IPAM plugins

• Built-in network & IPAM drivers

Page 5: Docker Online Meetup #29: Docker Networking is Now GA

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

Page 6: Docker Online Meetup #29: Docker Networking is Now GA

Container Network Model (CNM)• Endpoint

• Network

• Sandbox

Page 7: Docker Online Meetup #29: Docker Networking is Now GA

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

Page 8: Docker Online Meetup #29: Docker Networking is Now GA

DockerCLI Docker

CLIDocker

CLI

etcd consul zookeeper

Machine discovery

Multi-host networking

Page 9: Docker Online Meetup #29: Docker Networking is Now GA

Multiple Docker Engines == Swarm

DockerCLI

Managers

Agents

CLIDocker Hub

Token service

etcd

consul

zookeeper

Simple FileMachine discovery

libkv

Page 10: Docker Online Meetup #29: Docker Networking is Now GA

PRAISE BE TO THE DEMO GODS!

Page 11: Docker Online Meetup #29: Docker Networking is Now GA

Compose + Swarm + Networking

++ =

Page 12: Docker Online Meetup #29: Docker Networking is Now GA

...and these wonderful ecosystem plugins

Page 13: Docker Online Meetup #29: Docker Networking is Now GA

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

Page 14: Docker Online Meetup #29: Docker Networking is Now GA

http://github.com/docker/libnetwork

#docker-network on freenode

Thank You. Questions?