Linux/Docker/Automation

From Wiki
< Linux‎ | Docker
Revision as of 13:31, 17 March 2020 by Marcluer (talk | contribs) (Die Seite wurde neu angelegt: „== Watchtower == * add to docker-compose.yml: watchtower: image: containrrr/watchtower volumes: - /var/run/docker.sock:/var/run/docker.sock…“)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Watchtower

  • add to docker-compose.yml:
watchtower:
   image: containrrr/watchtower
   volumes:
    - /var/run/docker.sock:/var/run/docker.sock
    - /root/.docker/config.json:/config.json
   command: --interval 30
   restart: always