Skip to content

Conversation

jonashackt
Copy link
Contributor

As one can find in the Docker Swarm docs (https://docs.docker.com/engine/swarm/services/#give-a-service-access-to-volumes-or-bind-mounts), there´s is no CLI option like '-v' (anymore?). But if you use --mount src=/mnt/registry,dst=/var/lib/registry, everything works fine.

Proposed changes

Unreleased project version (optional)

Related issues (optional)

As one can find in the Docker Swarm docs (https://docs.docker.com/engine/swarm/services/#give-a-service-access-to-volumes-or-bind-mounts), there´s is no CLI option like '-v' (anymore?). But if you use `--mount src=/mnt/registry,dst=/var/lib/registry`, everything works fine.
jonashackt added a commit to jonashackt/ansible-windows-docker-springboot that referenced this pull request Aug 31, 2017
jonashackt added a commit to jonashackt/ansible-windows-docker-springboot that referenced this pull request Sep 7, 2017
@mdlinville mdlinville merged commit f9766e2 into docker:master Sep 11, 2017
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

Successfully merging this pull request may close these issues.

2 participants