Skip to content

Instantly share code, notes, and snippets.

@mlist
Created February 24, 2015 15:01
Show Gist options
  • Save mlist/b4fcd4a2e41f2f981437 to your computer and use it in GitHub Desktop.
Save mlist/b4fcd4a2e41f2f981437 to your computer and use it in GitHub Desktop.
copy file to docker container
cd /tmp/somefiles
tar -cv * | docker exec -i elated_hodgkin tar x -C /var/www
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment