I have two hosts and a docker is installed in each.
As you know, each docker saves images in the local directory /var/lib/docker .
So, if I want to use some kind of image, for example ubuntu , I have to do docker pull to load from the Internet on each host.
I think it is slow.
Can I save images in a shared disk array? Then, several hosts pull out the image once so that each host with access to the shared drive uses the image directly.
Is this possible or good practice? Why is docker not created this way?
To implement this, you may need to hack the docker source code.
docker docker-registry dockerhub
Ningleee
source share