其他机器可以从私有仓库服务器上下载、搜索镜像等,与从 Docker Hub 上操作无异,只不过需要指出仓库的位置,如:
guohl@ghl-MBP ⮀ ~ ⮀ docker rmi -f 192.168.59.104:5000/hello-world Untagged: 192.168.59.104:5000/hello-world:latest Deleted: e45a5af57b00862e5ef5782a9925979a02ba2b12dff832fd0991335f4a11e5c5 Deleted: 31cbccb51277105ba3ae35ce33c22b69c9e3f1002e76e4c736a2e8ebff9d7b5d guohl@ghl-MBP ⮀ ~ ⮀ docker search 192.168.59.104:5000/hello-world NAME DESCRIPTION STARS OFFICIAL AUTOMATED library/hello-world 0 guohl@ghl-MBP ⮀ ~ ⮀ docker pull 192.168.59.104:5000/hello-world Pulling repository 192.168.59.104:5000/hello-world e45a5af57b00: Download complete 511136ea3c5a: Download complete 31cbccb51277: Download complete Status: Downloaded newer image for 192.168.59.104:5000/hello-world:latestCentOS 6/7系列安装Docker