Procházet zdrojové kódy

Update 'watchtower'

Laurie Summers před 1 rokem
rodič
revize
7bab1a8ec7
1 změnil soubory, kde provedl 5 přidání a 1 odebrání
  1. 5 1
      watchtower

+ 5 - 1
watchtower

@@ -2,4 +2,8 @@ Running Watchtower for updateing docker containers https://hub.docker.com/r/cont
 
 docker run -d --name watchtower -v /var/run/docker.sock:/var/run/docker.sock containrrr/watchtower
 
-See https://containrrr.dev/watchtower/arguments/ for usage instructions
+See https://containrrr.dev/watchtower/arguments/ for usage instructions
+
+if you want to remove old images new cotainer started then use 
+docker run -d --name watchtower -v /var/run/docker.sock:/var/run/docker.sock containrrr/watchtower /
+Argument: --cleanup Environment Variable: WATCHTOWER_CLEANUP Type: Boolean Default: false