changecan 2020-06-21
私有仓库地址:registry.supos.ai
修改/etc/docker/daemon.json文件,增加insecure-registries,如下所示:
{ "insecure-registries": ["registry.supos.ai", "registry:5000"] }
重启docker
systemctl restart docker
以microsoft/dotnet:2.2-aspnetcore-runtime为例
:docker login -u zhanwei -p ***** registry.supos.ai
:docker tag [ImageId] registry.supos.ai/pims/microsoft/dotnet:2.2-aspnetcore-runtime
:docker push registry.supos.ai/pims/microsoft/dotnet:2.2-aspnetcore-runtime