Skip to content

Instantly share code, notes, and snippets.

@davidbaiguini
Last active September 7, 2015 01:39
Show Gist options
  • Save davidbaiguini/f509a28e1df03255e53f to your computer and use it in GitHub Desktop.
Save davidbaiguini/f509a28e1df03255e53f to your computer and use it in GitHub Desktop.
Docker cammands
docker exec -i CONTAINER sh -c 'cat > DESTINATION' < ORIGIN
# like:
docker exec -i tangible sh -c 'cat > /root/test.txt' < ./test.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment