Demos of Docker's New Networking
This repo contains a bunch of scripts for you to get started with Docker's new networking features
These scripts assume the following
- You have Docker Machine installed
- You are using Docker 1.9 or later
Both of these components can be installed using the Docker Toolbox
Environment | Script Name |
---|---|
Multi-host Networking using Virtualbox | multihost-local.sh |
Multi-host Networking using Amazon EC2 | multihost-aws.sh |
Swarm w/ Networking on Virtualbox | swarm-local.sh |
Swarm w/ Networking on Amazon EC2 | swarm-aws.sh |
So you want to use a different Docker Machine driver! Cool. Here are some things you might want to know
- You can "borrow" the security group configuration from the AWS scripts
- You MUST check the interface name used for
cluster-advertise
. Pick the wrong name and your daemon won't start
Check out the docs Have fun!
Made changes? Want to contribute a new script for another cloud provider... or even for networking across clouds? Raise a PR!