Created
April 19, 2016 22:10
-
-
Save danielef/7bd28a7d24f794d59ddcfa34b3753cfc to your computer and use it in GitHub Desktop.
Docker copy a file from Host to Container
This file contains hidden or 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 exec -i filipo_elperfecto sh -c 'cat > /opt/file.txt' < file.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment