美文网首页
harobor私服

harobor私服

作者: david161 | 来源:发表于2022-03-02 10:20 被阅读0次
    登录私服 
    vi /etc/docker/daemon.json 
    "insecure-registries":["192.168.198.155:5000"] 
    systemctl daemon-reload 
    systemctl restart docker 
    
    并上传镜像 
    docker tag lagou/jenkinsdemo:v1 192.168.198.155:5000/lagouedu/jenkinsdemo:v1 
    docker push 192.168.198.155:5000/lagouedu/jenkinsdemo:v1 
    docker rmi -f lagou/jenkinsdemo:v1
    

    相关文章

      网友评论

          本文标题:harobor私服

          本文链接:https://www.haomeiwen.com/subject/dxylrrtx.html