Dave Tucker

Networking Receives an Upgrade

After our initial progress report, we are excited to announce a new networking system for Docker Engine. Containers can now communicate with each across hosts and configuring networking has been made much more flexible. What’s more, this functionality is entirely pluggable with networking drivers, so you can choose a networking system that best suits your infrastructure without locking your app into any particular system.


How it works

You can now create a network and attach containers to it. This can be useful for segmenting your containers, applying policies or even just for keeping your containers organised.

docker network create foo
docker run -itd --publish-service=myapp.foo debian:latest

How do you use your networks? Please let us know by joining the discussion on #docker-network on Freenode.

Multi-Host Networking

Because one Docker Engine is never enough we need the ability to create networks that span multiple Engines. We are proud to unveil the “Overlay Driver” that we are incubating for inclusion in the next release of Engine.

The Overlay Driver requires you to provide a key-value store that is reachable by all hosts in the cluster. Once this is provided, we can use Docker Hub based discovery (just like Swarm) to set up the necessary VXLAN tunnels to allow the creation of distributed networks. So, when you run the following command, the new network will be available on every host.

docker network create -d overlay foo

We also have experimental support for integration between Compose, Swarm and multi-host networking, so your containers running in a Swarm can seamlessly communicate with each other. Check out the experimental documentation to find out more about this.

Networking Plugins

“One size never fits all”

– R. Callon, RFC 1925 – The Twelve Networking Truths

At Docker, we understand that there is no one way to do networking. With that in mind, we released support for networking plugins. Use a networking plugin from one of our awesome ecosystem partners or go ahead and write your own – the choice is yours. Check out the blog post about plugins to read more.

Loads of partners are already writing plugins or planning to integrate with Docker’s new networking system. Read more in our partner blog posts from Project Calico, Nuage Networks, Cisco, VMware, Microsoft, Weave, Midokura.


Try it out

The networking internals of the Engine have been completely rebuilt in the stable release of Docker, but multi-host networking and the command-line interface are still in an experimental state so you’ll have to download it in a separate experimental release. Head over here for instructions on how download the experimental release and use the new features in it.


Learn More about Docker Networking

Live life on the bleeding edge with Docker’s Experimental Channel
Try out Compose + Swarm + Network integration
• Collaborate with us on libnetwork
• Join the discussion on IRC
• #docker-network on Freenode



Learn More about the Docker News from DockerCon 2015

Join our next Docker online meetup recapping all of the news from DockerCon including demos of the latest features of Docker 1.7. The meetup is on Monday, June 29 at 10:00 PDT / 19:00 CEST – click here to register!


Learn More about Docker


, ,

Dave Tucker

Networking Receives an Upgrade

3 Responses to “Networking Receives an Upgrade”

  1. Docker 101 | ITJUMPSTART

    […] Plugin model – with the introduction of overlay driver, Docker Engine can use plugins. The Kubernetes model assigns a unique IP to each container […]

  2. TECNOLOGÍA » Announcing Docker 1.9: Production-ready Swarm and Multi-host Networking

    […] Networking was announced as part of the experimental release at DockerCon in June. We’re pleased to announce that Networking is now in the stable release of Docker Engine and ready to use in production. […]

  3. Docker 1.9正式发布,支持Swarm和多宿主机互联 – docker世界

    […] 在今年6月份的DockerCon上,互联曾经作为测试版本的特性被提出。目前,该特性正式集成在了Docker引擎的稳定版中,并将在产品中使用。其主要功能是为跨宿主机创建Docker引擎中的虚拟网络提供支持。用户可以把其所属的容器挂载到网络中,并控制网络拓扑和通信方式。此外,系统还允许用户在不修改应用的情况下直接与任何网络进行集成。更多详情可以参考Docker官网中的互联专题博客和Docker的相关工程师即将举行的专题在线会议。 […]


Leave a Reply

Get the Latest Docker News by Email

Docker Weekly is a newsletter with the latest content on Docker and the agenda for the upcoming weeks.