Skip to content

Instantly share code, notes, and snippets.

@aashidham
Last active July 23, 2019 06:35
Show Gist options
  • Save aashidham/770a612a73f14bb9c75186f2eae46b98 to your computer and use it in GitHub Desktop.
Save aashidham/770a612a73f14bb9c75186f2eae46b98 to your computer and use it in GitHub Desktop.
Attempt at using overlay2 syncing (failed)
rsync --update -raz --progress \
-e "ssh -oStrictHostKeyChecking=no -i /home/ubuntu/.ssh/id_ed25519" \
/var/lib/docker/overlay2/ root@34.73.55.210:/var/lib/docker/overlay2/
# make sure you add key to root ~/.ssh/authorized_keys
# run this from root shell
#prior usage (inside ent-dev) (for seperate purpose)
rsync --progress --delete -rtLv \
-e "ssh -oStrictHostKeyChecking=no -i /home/ubuntu/.ssh/container" \
/home/ubuntu/benuku_docker/dot_benuku/dist/ ubuntu@52.14.35.132:~/dot_benuku/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment