How to Migrate from Containrrr to Nick Fedor’s Watchtower?

0
7
Asked By CuriousCoder92 On

I've been using Watchtower from containrrr, but since it's no longer maintained, I want to switch to the fork created by Nicholas Fedor. Can someone explain the steps for migrating? Do I just need to replace 'containrrr' with 'nickfedor/watchtower' in my Docker Compose file? Here's a snippet of my current setup: version: "3.8"
services:
watchtower:
image: containrrr/watchtower:latest
container_name: watchtower
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:

3 Answers

Answered By CuriousCoder92 On
Answered By TechieTina On

Actually, it's not necessary to bring everything down before the change. Just updating the service definition in your Compose file and running 'docker compose up -d' will recreate the container automatically. A little easier than doing a full teardown!

Answered By DockerDude101 On

Yes, you should just replace 'containrrr' with 'nickfedor/watchtower' in your Compose file. After making the change, remember to run 'docker compose down' to stop your current container, and then 'docker compose up -d' to start the new one.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.