docker私有仓库间同步问题
阿神
阿神 2017-04-21 10:55:57
0
2
799

假设有两个私有仓库A与B,A经常改动,B要与A同步,目前能想到的是
1).直接rsync同步A仓库所在的文件夹到B,然后docker pull B中image,直接报HTTP code: 404
2).docker pull A中的镜像,然后push到B中 ---感觉这种方法太土了
有智能点的方法么?

阿神
阿神

闭关修行中......

reply all(2)
左手右手慢动作

1). Directly rsync the folder where A warehouse is located to B, then docker pull the image in B, and directly report HTTP code: 404
The 404 reported should be that the configuration of B is different from that of A. It should be OK to change it. Is there a better way?

Peter_Zhu

Registry mirror does this. But v1 does not support it. v2 will support mirror for private registry

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template