Skip to content

Instantly share code, notes, and snippets.

@wmanth
Last active March 20, 2021 15:42
Show Gist options
  • Save wmanth/95498a30610a2526ba9a80ee22ddbc39 to your computer and use it in GitHub Desktop.
Save wmanth/95498a30610a2526ba9a80ee22ddbc39 to your computer and use it in GitHub Desktop.
Upload a docker image to a remote SSH server without publishing it on a docker registry
// upload a docker image to a remote SSH server without publishing it on a docker registry
docker save <IMAGE_NAME> | gzip -c | ssh <REMOTE_SERVER> "gunzip -c | docker load"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment