Created
April 2, 2018 00:40
-
-
Save urjitbhatia/47d1b8a5ff38db164900d584b77925dc to your computer and use it in GitHub Desktop.
One liner to send docker image to a remote host over ssh
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 save <image> | bzip2 | pv | ssh user@host 'bunzip2 | docker load' | |
## Credits: https://stackoverflow.com/questions/23935141/how-to-copy-docker-images-from-one-host-to-another-without-via-repository |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment