群晖+Docker Private registry

1. 群晖下私有仓库搭建

测试需要搭建一个私有的镜像仓库。上网搜索到了Easily Host an Awesome Docker Registry at Home这篇文章。文章发布较早,还在用boot2docker,现在官网已提供了windows10下的docker安装文件,比用boot2docker好的多。设置仅需要在任选栏中的docker图标右键选择setting,在daemone选项卡下的"insecure registries:"填写你自己的私有仓库地址,点击“apply"后重启docker即可。

测试:

PS C:\Users\sunsl> docker tag busybox 192.168.123.202:55000/busybox:latest
PS C:\Users\sunsl> docker push 192.168.123.202:55000/busybox:latest
The push refers to a repository [192.168.123.202:55000/busybox]
08c2295a7fa5: Pushed
latest: digest: sha256:8573b4a813d7b90ef3876c6bec33db1272c02f0f90c406b25a5f9729169548ac size: 527
PS C:\Users\sunsl> docker rmi 192.168.123.202:55000/busybox:latest
Untagged: 192.168.123.202:55000/busybox:latest
Untagged: 192.168.123.202:55000/busybox@sha256:8573b4a813d7b90ef3876c6bec33db1272c02f0f90c406b25a5f9729169548ac
PS C:\Users\sunsl> docker pull 192.168.123.202:55000/busybox:latest
latest: Pulling from busybox
Digest: sha256:8573b4a813d7b90ef3876c6bec33db1272c02f0f90c406b25a5f9729169548ac
Status: Downloaded newer image for 192.168.123.202:55000/busybox:latest

成功!

问题:搭建一个web ui方便查看管理,开始干活....

2. web ui选型

  • Docker Trusted Registry介绍
  • Portus

群晖下docker部署portus

参考:
Easily Host an Awesome Docker Registry at Home
为群晖nas docker套件配置镜像加速下载
Registering your private registry into Portus
docker-Portusv2.1镜像仓库快速部署使用
Docker Registry私有仓库介绍与部署章
Docker可视化管理工具Shipyard安装与配置
Docker registry 管理工具Portus

你可能感兴趣的:(群晖+Docker Private registry)