Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
D4M 17.04.0-ce-rc2-mac6 (16165): Volume labels no longer accepted in stack file #32579
The previous version of Beta worked, as does the current version of Stable.
Documentation still shows volume labels as a supported feature:
Steps to reproduce the issue:
docker stack deploy -c docker-compose.yml my_app
Describe the results you received:
invalid spec: /var/run/docker.sock:/var/run/docker.sock:z: unknown option: z
Describe the results you expected:
Additional information you deem important (e.g. issue happens only occasionally):
Additional environment details (AWS, VirtualBox, physical, etc.):
Please continue to ignore, or better yet, ignore+warn; throwing an error breaks existing stack files.
Also, this behavior should be called out in the documentation. There's no mention of swarm-specific expectations:
Aren't these for bind propagation? Swarmkit handles them explicitly: https://github.com/docker/swarmkit/blob/master/agent/exec/dockerapi/container.go#L290.