Skip to content

在群晖Nas上用Task Scheduler利用TowerWatch进行Docker定时更新

Tags:

参考 http://www.chrno.cn/index.php/docker/16.html

# 运行一次,更新所有的容器,并清除旧的容器  
docker rm watchtower
docker run -d --name watchtower -v /var/run/docker.sock:/var/run/docker.sock containrrr/watchtower --cleanup --run-once chrome-vnc v2ray-directnonoidea33300

# 如果不加具体的容器名,则默认对所有容器进行更新

Leave a Reply

Your email address will not be published.