nexus docker 私有镜像处理

新版本的nexus 可以进行docker 镜像的存储处理

配置私有镜像(host 模式)


修改docker 非安全镜像处理

{
"registry-mirrors": ["http://099430a4.m.daocloud.io"],
"insecure-registries":["hostip:8888","hostip:5001"]
}

push image

docker pull nginx
docker tag hostip:8888/nginx
docker push hostip:8888/nginx

参考资料

https://help.sonatype.com/repomanager3/private-registry-for-docker/pushing-images

posted on 2018-05-28 10:52  荣锋亮  阅读(362)  评论(0编辑  收藏  举报

导航