Created
September 24, 2021 17:13
-
-
Save micahyoung/190ba0079b2ce2e2cf385e5030019721 to your computer and use it in GitHub Desktop.
rsync remote shell using docker run to sync remote volumes
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 build --tag rsync -f <(echo "FROM alpine\nRUN apk update && apk add rsync") /var/empty | |
rsync -vv -e 'docker run -v foo:/foo -i' -a rsync:/foo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment