1st Official Post
  • Attention: The video is still in german

    External Content youtu.be
    Content embedded from external sources will not be displayed without your consent.
    Through the activation of external content, you agree that personal data may be transferred to third party platforms. We have provided more information on this in our privacy policy.

    Bash
    docker run -d --name=watchtower \
    -v /volume1/docker/docker.sock:/var/run/docker.sock \
    --restart=always \
    containrrr/watchtower --cleanup --include-stopped --include-restarting --interval 21600

    Watchtower updates your containers automatically without asking. For some, this is very useful, but for others who have to work with a container all the time, less so.

    That's why there is also an option to always run Watchtower manually instead of automatically. You can find all of these options in the documentation.

    Here is an example of a manual update of Calibre:

    Bash
    docker run --rm \
    -v /volume1/docker/docker.sock:/var/run/docker.sock \
    containrrr/watchtower \
    --run-once calibre

    docker run --rm creates the Watchtower container, runs it and when it is finished, it is automatically deleted.


    Create symbolic link for docker.sock

    Bash
    ln -s /var/run/docker.sock /volume1/docker/docker.sock

    I am creating this symbolic link because I was having problems with some containers accessing docker.sock. When I linked them like this, those containers no longer had any problems and ran perfectly.

    Used Links

    Watchtower Documentation

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!