docker service create
–mode global
–mount type=bind src=/INPUT,dst=/tmp/inward
–publish mode=host,target=2057,published=2058
–name inward
payment-service
while creating above mentioned service, replica is not creating in docker swarm.
host path is available with all permission.
we are getting following error in docker logs:
msg=“fatal task error” error=“invalid mount config for type “bind”: bind source path does not exist” module="node/agent/taskmanag
Were you able to resolve this issue? I am going through the docker tutorial, and am having the same problem getting the Redis service started. It seems like it should just work based on the provided tutorial docs, so there is probably a deeper issue.