Home  >  Q&A  >  body text

docker如何把拉下来的镜像直接搭建个registry分享出去?

网上的教程是搭建一个私有仓库,然后push,可是这样就会有两份数据了,我不想push,docker如何把拉下来的镜像直接搭建个registry分享出去呢?

给我你的怀抱给我你的怀抱2708 days ago777

reply all(2)I'll reply

  • 世界只因有你

    世界只因有你2017-04-24 16:01:05

    The Docker warehouse management method is similar to the code base. Others can only obtain the images in the warehouse, but cannot directly access your local images. Therefore, your requirement cannot be realized by building a private warehouse.
    If you want to share the image directly, you can try to share it through Dockerfile or directly export the image.

    reply
    0
  • 天蓬老师

    天蓬老师2017-04-24 16:01:05

    Package the image, mount the copy to the target server, and then load the image through the docker load command.

    reply
    0
  • Cancelreply