I would like to use ssh as a transport mechanism for transferring docker images hosted in corporate network to private cloud. Setting up VPN connections would not be my first choice (as it just adds to the complexity). Any ideas where to look/start for this
Edit: I and potentially many of my team members would be doing this many times a day (both pulling and pushing)
To export your image to a tar file, run the docker save command, specifying a name for the . tar file, and the docker image name. This will save the docker image locally.
Here's one way to do it through ssh:
docker save <my_image> | ssh -C [email protected] docker load
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With