1.Docker's official docker hub (https://hub.docker.com) is a warehouse for managing public images. You can pull images from it to the local, or you can push your own images to it.
2. If the server cannot access the Internet, or if you do not want to put your own image on the public network, you need to build your own private warehouse to store and manage your own image
2. Construction of private warehouse
1. Pull the private warehouse image
docker pull registry
2. Start the private warehouse container
docker run -id --name=registry -p 5000:5000 registry