带有私有注册表的Docker守望台 [英] Docker watchtower with private registry

查看:87
本文介绍了带有私有注册表的Docker守望台的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想运行一个Docker to望塔,以在每次将新版本推送到我的私有注册表时自动升级我的Docker容器。

I want to run a docker watchtower to automatically upgrade my docker containers whenever I push a new version to my private registry.

但是,ower望塔找不到容器在我的私有注册表中。

However, watchtower doesn't find containers in my private registry.

有人知道如何使用私有Docker Registry运行run望塔吗?

Does anyone know how to run watchtower with a private docker registry?

推荐答案

守望台维护者和开发者。实际上,我们愿意支持使用私人注册表。这是通过使用完全限定的名称作为映像名称来完成的,即。 example.com/my-org/my-image:my-tag ,以及在守望台容器根目录安装config.json。

Watchtower maintainer and developer here. We actually do have support for using private registries. This is done by using a fully qualified name as the image name, ie. example.com/my-org/my-image:my-tag, as well as mounting config.json at the watchtower container root.

查看文档,尤其是 https://containrrr.github.io / watchtower / usage-overview /

文档可能更清晰,如果您对这项任务感到满意,请在获得此文档后立即进行改进

The docs could probably be clearer, and if you feel up for the task, feel free to improve them once you get it working.

谢谢,
Simon

Thanks, Simon

这篇关于带有私有注册表的Docker守望台的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆