Skip to content

Instantly share code, notes, and snippets.

@paulrobinson
Created February 18, 2016 17:43
Show Gist options
  • Save paulrobinson/24304657d3eef8daae85 to your computer and use it in GitHub Desktop.
Save paulrobinson/24304657d3eef8daae85 to your computer and use it in GitHub Desktop.
docker run -v /data --name data_container cogniteev/echo
echo foo | docker run --volumes-from data_container -i --rm busybox tee /data/bar
docker run --volumes-from data_container --rm busybox cat /data/bar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment