Skip to content

Instantly share code, notes, and snippets.

@danielef
Created April 19, 2016 22:10
Show Gist options
  • Save danielef/7bd28a7d24f794d59ddcfa34b3753cfc to your computer and use it in GitHub Desktop.
Save danielef/7bd28a7d24f794d59ddcfa34b3753cfc to your computer and use it in GitHub Desktop.
Docker copy a file from Host to Container
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