Created
April 8, 2015 13:10
-
-
Save jedi4ever/5d916c1b1c2d767f3f65 to your computer and use it in GitHub Desktop.
rsync -> docker exec
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
Looking for the correct syntax | |
rsync -avz <host-dir> | docker exec rsync --server --daemon <inside-container-dir> |
Peter's syntax works under Docker 1.8.1. Thanks!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Correct syntax is:
But, docker CLI has some issue blocking this syntax to work.