Created
May 5, 2017 20:13
-
-
Save sixeyed/3738d6f609db295f7a3866234669d031 to your computer and use it in GitHub Desktop.
Overlay test for Windows containers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$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