Merge pull request #707 from billglover/master

Fix syntax in Swarm example. Resolves #528
This commit is contained in:
Vincent Demeester 2016-10-02 14:00:34 +02:00 committed by GitHub
commit 66f52a6e21

View file

@ -84,14 +84,14 @@ docker $(docker-machine config mhs-demo0) run \
-l DEBUG \ -l DEBUG \
-c /dev/null \ -c /dev/null \
--docker \ --docker \
--docker.domain traefik \ --docker.domain=traefik \
--docker.endpoint tcp://$(docker-machine ip mhs-demo0):3376 \ --docker.endpoint=tcp://$(docker-machine ip mhs-demo0):3376 \
--docker.tls \ --docker.tls \
--docker.tls.ca /ssl/ca.pem \ --docker.tls.ca=/ssl/ca.pem \
--docker.tls.cert /ssl/server.pem \ --docker.tls.cert=/ssl/server.pem \
--docker.tls.key /ssl/server-key.pem \ --docker.tls.key=/ssl/server-key.pem \
--docker.tls.insecureSkipVerify \ --docker.tls.insecureSkipVerify \
--docker.watch \ --docker.watch \
--web --web
``` ```
@ -102,7 +102,7 @@ Let's explain this command:
- `-v /var/lib/boot2docker/:/ssl`: mount the ssl keys generated by docker-machine - `-v /var/lib/boot2docker/:/ssl`: mount the ssl keys generated by docker-machine
- `-c /dev/null`: empty config file - `-c /dev/null`: empty config file
- `--docker`: enable docker backend - `--docker`: enable docker backend
- `--docker.endpoint tcp://172.18.0.1:3376`: connect to the swarm master using the docker_gwbridge network - `--docker.endpoint=tcp://172.18.0.1:3376`: connect to the swarm master using the docker_gwbridge network
- `--docker.tls`: enable TLS using the docker-machine keys - `--docker.tls`: enable TLS using the docker-machine keys
- `--web`: activate the webUI on port 8080 - `--web`: activate the webUI on port 8080