Last active
August 29, 2015 14:24
-
-
Save Krijger/f395d86855398077a554 to your computer and use it in GitHub Desktop.
volumes_issue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -v /dir --name data debian:jessie bash -c "echo 'contents' > /dir/file && cat /dir/file" | |
docker run \ | |
--volumes-from data \ | |
-v /var/run/docker.sock:/run/docker.sock \ | |
-v /usr/bin/docker:/usr/bin/docker \ | |
debian:jessie \ | |
bash -c "docker run -v /dir/file:/myfile debian:jessie cat /myfile" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment