Skip to content
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

Support docker run --mount #25

Open
djeeg opened this issue Mar 5, 2018 · 0 comments
Open

Support docker run --mount #25

djeeg opened this issue Mar 5, 2018 · 0 comments

Comments

@djeeg
Copy link

djeeg commented Mar 5, 2018

Please add "mount" here
https://github.com/rundeck-plugins/docker/blob/master/docker-container/contents/run-image#L34
(not sure if you accept contributions)

https://docs.docker.com/storage/bind-mounts/

Originally, the -v or --volume flag was used for standalone containers and the --mount flag was used for swarm services. However, starting with Docker 17.06, you can also use --mount with standalone containers. In general, --mount is more explicit and verbose.

To do something like this

--mount type=volume,volume-driver=cloudstor:azure,source=mysql,volume-opt=share=mysql,destination=/var/backups

Thanks!

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

No branches or pull requests

1 participant