How to share my Docker-Image without using the Docker-Hub?

后端 未结 4 2120
离开以前
离开以前 2020-12-12 08:56

I\'m wondering where Docker\'s images are exactly stored to in my local host machine. Can I share my Docker-Image without using the Docker-Hub or a Docker

4条回答
  •  星月不相逢
    2020-12-12 09:18

    Sending a docker image to a remote server can be done in 3 simple steps:

    1. Locally, save docker image as a .tar:
    docker save -o  
    
    1. Locally, use scp to transfer .tar to remote

    2. On remote server, load image into docker:

    docker load -i 
    

提交回复
热议问题