Skip to content

Instantly share code, notes, and snippets.

@sixeyed
Created May 5, 2017 20:13
Show Gist options
  • Save sixeyed/3738d6f609db295f7a3866234669d031 to your computer and use it in GitHub Desktop.
Save sixeyed/3738d6f609db295f7a3866234669d031 to your computer and use it in GitHub Desktop.
Overlay test for Windows containers
$ip = '127.0.0.1'
docker swarm init --listen-addr $ip --advertise-addr $ip
docker network create --driver overlay test
docker service create `
--network test `
--endpoint-mode dnsrr `
--publish mode=host,target=80,published=80 `
microsoft/iis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment