Docker - check private registry image version

后端 未结 7 1920
抹茶落季
抹茶落季 2021-01-02 03:37

What CLI commands do I need to use in order to check if the image in my private docker registry is a newer version than the one currently running on my server?

E.g.

7条回答
  •  臣服心动
    2021-01-02 04:16

    An older question, but this sounds like a problem that Watchtower can solve for you. It is another dockerized application that runs adjacent to your other containers and periodically check to see if their base images are updated. When they are, it downloads the new image and restarts them.

    If given the correct credentials, it can work with a local registry.

提交回复
热议问题