Skip to content

Instantly share code, notes, and snippets.

Quinten Krijger Krijger

  • ING Netherlands
  • Amsterdam
View GitHub Profile
View gist:f395d86855398077a554
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"
You can’t perform that action at this time.