Linux/Docker/Automation

From Wiki
< Linux‎ | Docker

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