You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following docker command should be able to launch a stack with volumes that have volume labels
docker stack deploy -c docker-compose.yml my_app
e.g.
services:
# Docker Swarm visualizer
# See https://docs.docker.com/engine/tutorials/dockervolumes/#volume-labels for info on the ":z"
viz:
image: manomarks/visualizer
ports:
- 8081:8080
networks:
- jenkins-net
volumes:
- /var/run/docker.sock:/var/run/docker.sock:z
deploy:
placement:
constraints: [node.role==manager]
Actual behavior
1 error(s) decoding:
invalid spec: /var/run/docker.sock:/var/run/docker.sock:z: unknown option: z
Information
Full output of the diagnostics from "Diagnose & Feedback" in the menu
Docker for Mac: version: 17.03.1-ce-mac5 (b18e2a50c)
macOS: version 10.12.4 (build: 16E195)
logs: /tmp/3BC62945-262D-4DE5-83D6-6929A6993B92/20170406-170711.tar.gz
[OK] vmnetd
[OK] dns
[OK] driver.amd64-linux
[OK] virtualization VT-X
[OK] app
[OK] moby
[OK] system
[OK] moby-syslog
[OK] db
[OK] env
[OK] virtualization kern.hv_support
[OK] slirp
[OK] osxfs
[OK] moby-console
[OK] logs
[OK] docker-cli
[OK] menubar
[OK] disk
Steps to reproduce the behavior
Put the example above into a docker-compose.yml
Run docker stack deploy -c docker-compose.yml my_app
The text was updated successfully, but these errors were encountered:
This looks like a docker/docker issue. :rw is also not accepted in compose files used with docker stack deploy -c but :ro is accepted. Please report this issue to docker/docker. I've marked this issue as status/0-more-info-needed so that we will auto-close it in 2 weeks if there is no further information to act upon.
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale comment.
Stale issues will be closed after an additional 30d of inactivity.
Prevent issues from auto-closing with an /lifecycle frozen comment.
If this issue is safe to close now please do so.
Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows.
/lifecycle stale
Expected behavior
The following docker command should be able to launch a stack with volumes that have volume labels
Actual behavior
1 error(s) decoding:
Information
Docker for Mac: version: 17.03.1-ce-mac5 (b18e2a50c)
macOS: version 10.12.4 (build: 16E195)
logs: /tmp/3BC62945-262D-4DE5-83D6-6929A6993B92/20170406-170711.tar.gz
[OK] vmnetd
[OK] dns
[OK] driver.amd64-linux
[OK] virtualization VT-X
[OK] app
[OK] moby
[OK] system
[OK] moby-syslog
[OK] db
[OK] env
[OK] virtualization kern.hv_support
[OK] slirp
[OK] osxfs
[OK] moby-console
[OK] logs
[OK] docker-cli
[OK] menubar
[OK] disk
Steps to reproduce the behavior
The text was updated successfully, but these errors were encountered: