Linux/Docker/Automation

From Wiki
< Linux‎ | Docker
Revision as of 13:32, 17 March 2020 by Marcluer (talk | contribs)

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