watchtower

containrrr / watchtower

Watchtower 是一个自动化 Docker 容器基础镜像更新的工具,能够定期检测并拉取新镜像,自动重启容器以应用更新。

Go 基础设施 开发工具 Docker 镜像更新 自动化运维 容器管理 运维工具

为什么值得看

编辑点评

它为 Docker 运维提供了“自动升级”能力,省去手动拉镜像和重建容器的重复操作,特别适合测试环境或需要快速迭代的小型部署。但生产环境需谨慎,因为自动更新可能引入不兼容变更,建议结合标签锁定和健康检查使用。项目简单易用,支持多种通知渠道,是容器生命周期管理的实用补充。

Star 趋势

近 7 日
  • Star 总数24,653
  • 今日新增+-1
  • 7 日增速0%
  • Fork1,152

同类项目

同场景 · 基础设施 / 开发工具

项目文档

来自 GitHub README · main 分支

⚠️ This project is no longer maintained

See https://github.com/containrrr/watchtower/discussions/2135 for details.


# Watchtower

A process for automating Docker container base image updates.

GoDoc Go Report Card

Quick Start

With watchtower you can update the running version of your containerized app simply by pushing a new image to the Docker Hub or your own image registry.

Watchtower will pull down your new image, gracefully shut down your existing container and restart it with the same options that were used when it was deployed initially. Run the watchtower container with the following command:

$ docker run --detach \
    --name watchtower \
    --volume /var/run/docker.sock:/var/run/docker.sock \
    containrrr/watchtower

Watchtower is intended to be used in homelabs, media centers, local dev environments, and similar. We do not recommend using Watchtower in a commercial or production environment. If that is you, you should be looking into using Kubernetes. If that feels like too big a step for you, please look into solutions like MicroK8s and k3s that take away a lot of the toil of running a Kubernetes cluster.

Documentation

The full documentation is available at https://containrrr.dev/watchtower.

Contributors

Thanks goes to these wonderful people (emoji key):


nils måsén

💻 📖 🚧 👀

Simon Aronsson

💻 📖 🚧 👀

James

⚠️ 🤔

Florian

👀 📖

Brian DeHamer

💻 🚧

Ross Cadogan

💻

stffabi

💻 🚧

Austin

📖

David Gardner

👀 📖

Tanguy ⧓ Herrmann

💻

Rodrigo Damazio Bovendorp

💻 📖

Ryan Kuba

🚇

cnrmck

📖

Harry Walter

💻

Robotex

📖

Gerald Pape

📖

fomk

💻

Sven Gottwald

🚇

techknowlogick

💻

waja

📖

Scott Albertson

📖

Jason Huddleston

📖

Napster

💻

Maxim

💻 📖

Max Schmitt

📖

cron410

📖

Paulo Henrique

📖

Kaleb Elwert

📖

Bill Butler

📖

Mario Tacke

💻

Mark Woodbridge

💻

Ansem93

📖

Luka Peschke

💻 📖

Zois Pagoulatos

💻 👀 🚧

Alexandre Menif

💻

Andrey

📖

Armando Lüscher

📖

Ryan Budke

📖

Kaloyan Raev

💻 ⚠️

sixth

📖

Gina Häußge

💻

Max H.

💻

Jungkook Park

📖

Jan Kristof Nidzwetzki

📖

lukas

💻

Ameya Shenoy

💻

Raymon de Looff

💻

John Clayton

💻

Germs2004

📖

Lukas Willburger

💻

Oliver Cervera

📖

Victor Moura

⚠️ 💻 📖

Maximilian Brandau

💻 ⚠️

Andrew

📖

sixcorners

📖

Arne Jørgensen

⚠️ 👀

PatSki123

📖

Valentine Zavadsky

💻 📖 ⚠️

Alexander Voronin

💻 🐛

Oliver Mueller

📖

Sebastiaan Tammer

💻

miosame

📖

Andrew Metzger

🐛 💡

Pierre Grimaud

📖

Matt Doran

📖

MihailITPlace

💻

bugficks

💻 📖

Michael

💻

D. Domig

📖

Ben Osheroff

💻

David H.

💻

Chander Ganesan

📖

yrien30

💻

ksurl

📖 💻 🚇

rg9400

💻

Turtle Kalus

💻

Srihari Thalla

📖

Thomas Gaudin

📖

hydrargyrum

📖

Reinout van Rees

📖

DasSkelett

💻

zenjabba

📖

Dan Quan

📖

modem7

📖

Igor Zibarev

💻

Patrice

💻

James White

📖

Dirk Kok

💻

EDIflyer

📖

Jauder Ho

💻

Tamal Das

📖

guangwu

📖

Florian Hübner

📖 💻

Andrii Bratanin

📖

This project follows the all-contributors specification. Contributions of any kind welcome!

文档抓取自 GitHub 仓库 README,版权归原作者所有;已过滤徽章等噪音并经安全消毒后展示。