docker镜像自动更新

Posted by Remilia Scarlet on June 9, 2022

使用方式

# 拉取镜像
docker pull containrrr/watchtower

# 更新指定的容器
docker run --rm -v /var/run/docker.sock:/var/run/docker.sock containrrr/watchtower --run-once target-container-name

参考链接

https://blog.minirplus.com/12138/
https://blog.csdn.net/Ber_Bai/article/details/114626330


| 访问量: