Last active
March 29, 2019 15:12
-
-
Save marwatk/0e87de5cd50bb74c15eb6ba77838f7e7 to your computer and use it in GitHub Desktop.
Rsync into docker container
This file contains 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 run -d --rm --name mycontainername -it myimagewithrsync | |
rsync -e "docker exec -i" -av mycontainername:/tmp . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment