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
docker deploy not deploying across swarm hosts #31121
Comments
Swarm won't schedule services with local volumes across hosts. |
Any documentation on this, as I was just planning on NFS sharing a folder across nodes |
I'm not sure about the docs. I'll take a look. Did you mean NFS? If so, you'll have to use a driver for the mount, I believe. If you actually meant NTFS, I have no clue. I don't think Linux likes NTFS very much, haha... |
Here's this FWIW: #24089 |
Yep typo meant NFS, I installed the NFS plugin and re-jigged the volumes to take advantage of it, and its getting somewhere now, but it has only booted the memcached containers on the two worker nodes
everything else is just pending
I can see the NFS mounted on the workers so they have access to it |
Looks like a typo to me:
should be:
|
I am going to jump out of this thread. I believe your questions would be better suited for the Docker Forums since there is no identifiable bug in Docker itself. |
Can you provide any details on the actual state of the services? You should be able to do |
@willseward that's just a typo. It looks like none of the plugins mentioned on the docker site actually support docker 1.13 and nfs shares so now im a bit dumbfounded on how im actually supposed to deploy this in a swarm cluster, so i guess you can close this |
@cpuguy83 this is the output i put above the error column is blank |
Hi, @cpuguy83 @thaJeztah @tiborvass this issue is safe to close. Can you please close this? |
yup, let's close this one as it's really old and not enough information to investigate |
Im trying to deploy a docker-compose stack across a 3 node docker engine swarm mode cluster
The cluster looks like so
All nodes are started with the --experimental daemon flag
All the nodes are logged into my private registry.
Here is a my docker-compose-swarm.yml
im running the deploy command from the swarm manager 'qg-node-1'
docker stack deploy -c docker-compose-swarm.yml up --with-registry-auth
also tried
docker deploy -c docker-compose-swarm.yml qg-prod
and only the services constrained to the master node are started. Looking through the example app isnt the expected behaviour to start all services regardless of what node they are constrained on?
Am i missing something here?
relevant docker info
docker -v
Docker version 1.13.1, build 092cba3
docker-compose -v
docker-compose version 1.11.1, build 7c5d5e4
qg-node-1
qg-node-2
qg-node-4
The text was updated successfully, but these errors were encountered: