Where is the Docker Docker mirror to start? Docker mirrored query Docker mirror save location for mirrored pull fetch view local mirror list Delete local mirror remove all mirrors
start Docker first .
Service Docker start
where is the Docker mirror?
Like Maven, we can get Docker mirrors from some public Docker Registry, and we can build our own Docker registr, so far I haven't built my own Docker Registry, so the default is from Docker official Docker Hub (Https://index.docker.io) to get, and then save in our local. query for Docker mirrors
Docker Mirror query commands are simple, you need to know the name of the software you want to install, and then you can see the list of available resources
Docker Search Mirror Name
For example, you can try Docker search Nginx, note the value of the NAME property
pull of Docker mirrors
Needs to be based on the NAME attribute value in the Docker mirror, such as the picture above Nginx
Docker pull Mirror Name (value of Name property)
Docker pull Url/name (you can specify Docker Registry address)
Pull Mirror Save location
/var/lib/docker/image/overlay/repositories.json Mirrored Directory
/var/lib/docker/containers Store specific mirrors view a local mirror list
Docker images
To delete a local mirror
You may encounter situations where the corresponding container cannot be deleted, and-F will force the deletion
Docker RMI Mirror Id/repository
Docker rmi-f mirroring Id/repository
Remove all mirrors
-F will force deletion
Docker Rmi-f $ (Docker images)