How to share docker image to others without docker hub

  docker, question

Which directory does docker image reside in? How can I share docker image with other LAN users without connecting to the Internet?

Assuming you have an image called ubuntu, you can use the save and load commands to transfer the image:

Run locally
sudo docker save -o ubuntu.tar ubuntu

The ubuntu.tar file is thus obtained, copied to a remote machine and executed

sudo docker load < ubuntu.tar

It just became …