Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Traefik using named pipes in swarm mode #10

Open
chimenesjr opened this issue Oct 20, 2019 · 1 comment
Open

Traefik using named pipes in swarm mode #10

chimenesjr opened this issue Oct 20, 2019 · 1 comment

Comments

@chimenesjr
Copy link

Hi Elton,
In chapter 7 you tell the swarm mode would be available until the release of the book.
I'm trying with the same docker-compose form local but it's not working.
I just want to check if my versions are correct to try this.
Docker: 19.03.2
Windows: Windows Server 2019 Datacenter Version 1809 (OS Build 17763.737)
Thanks.

@JawedCIA
Copy link

Please try this,

 docker service create `
 --detach=true `
 --network nd-swarm `
 --constraint=node.role==manager `
 --publish 80:80 `
 --publish 8080:8080 `
 --name reverse-proxy `
 --mount type=npipe,source=\\.\pipe\docker_engine,target=\\.\pipe\docker_engine `
  sixeyed/traefik:v1.7.8-windowsservercore-ltsc2019 `
 --docker --docker.endpoint=npipe:////./pipe/docker_engine `
 --docker --docker.swarmMode --docker.watch `
 --logLevel=DEBUG --api

Docker version 19.03.5, build 2ee0c57608
OS Name: Microsoft Windows Server 2019 Datacenter
OS Version: 10.0.17763 N/A Build 17763

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants