Copy docker image between repositories

前端 未结 2 740
萌比男神i
萌比男神i 2021-02-12 21:47

I have 2 private docker repositories. Is any way how can I copy one image from one repository to the second one?

2条回答
  •  感情败类
    2021-02-12 22:12

    Can be done with https://github.com/containers/skopeo

    Example for the README:

    skopeo copy docker://quay.io/buildah/stable docker://registry.internal.company.com/buildah
    

    The advantage is that Skopeo does not require Docker on the machine it runs on.

提交回复
热议问题