diff --git a/docs/user-guide/swarm.md b/docs/user-guide/swarm.md index 5a720fccf..456b3f20a 100644 --- a/docs/user-guide/swarm.md +++ b/docs/user-guide/swarm.md @@ -84,14 +84,14 @@ docker $(docker-machine config mhs-demo0) run \ -l DEBUG \ -c /dev/null \ --docker \ - --docker.domain traefik \ - --docker.endpoint tcp://$(docker-machine ip mhs-demo0):3376 \ + --docker.domain=traefik \ + --docker.endpoint=tcp://$(docker-machine ip mhs-demo0):3376 \ --docker.tls \ - --docker.tls.ca /ssl/ca.pem \ - --docker.tls.cert /ssl/server.pem \ - --docker.tls.key /ssl/server-key.pem \ + --docker.tls.ca=/ssl/ca.pem \ + --docker.tls.cert=/ssl/server.pem \ + --docker.tls.key=/ssl/server-key.pem \ --docker.tls.insecureSkipVerify \ - --docker.watch \ + --docker.watch \ --web ``` @@ -102,7 +102,7 @@ Let's explain this command: - `-v /var/lib/boot2docker/:/ssl`: mount the ssl keys generated by docker-machine - `-c /dev/null`: empty config file - `--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 - `--web`: activate the webUI on port 8080