V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
lqwqc987
V2EX  ›  Docker

docker 如何推送镜像到私有仓库。

  •  
  •   lqwqc987 · Dec 1, 2020 · 2220 views
    This topic created in 1980 days ago, the information mentioned may be changed or developed.
    我有一台私有仓库 A ( IP:1.1.1.1 )服务器,B 服务器上使用 docker push 1.1.1.1:5000/mytomcat 可以成功推送,但是我想修改他的默认仓库地址 就是使用 docker push mytomcat 的时候能成功推送到我的 A 服务器上在修改了 daemon.json 配置文件的 insecure-registries 和 registry-mirrors 参数都没有用。请问有没有其他方法?
    4 replies    2020-12-01 22:02:56 +08:00
    thet
        1
    thet  
       Dec 1, 2020
    只能用 docker push 1.1.1.1:5000/mytomcat 推送到 A 服务器吧
    lqwqc987
        2
    lqwqc987  
    OP
       Dec 1, 2020
    好吧,谢谢了
    lqwqc987
        3
    lqwqc987  
    OP
       Dec 1, 2020
    @thet 好吧,谢谢了
    Mai1me
        4
    Mai1me  
       Dec 1, 2020 via Android
    alias
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2699 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 02:15 · PVG 10:15 · LAX 19:15 · JFK 22:15
    ♥ Do have faith in what you're doing.