Skip to content

Latest commit

 

History

History
49 lines (34 loc) · 1.23 KB

README.md

File metadata and controls

49 lines (34 loc) · 1.23 KB

Welcome to dockermgr watchtower installer 👋

watchtower README

Requires scripts to be installed

 sudo bash -c "$(curl -LSs <https://github.com/dockermgr/installer/raw/main/install.sh>)"
 dockermgr --config && dockermgr install scripts  

Automatic install/update

dockermgr install watchtower

Manual install

git clone https://github.com/dockermgr/watchtower "$HOME/.local/share/CasjaysDev/dockermgr/watchtower"
bash -c "$HOME/.local/share/CasjaysDev/dockermgr/watchtower/install.sh"

Just run it

mkdir -p "$HOME/.local/share/srv/docker/watchtower/"

git clone <https://github.com/dockermgr/watchtower> "$HOME/.local/share/CasjaysDev/dockermgr/watchtower"

cp -Rfva "$HOME/.local/share/srv/docker/watchtower/dataDir/." "$HOME/.local/share/srv/docker/watchtower/"

sudo docker run -d \
--name="watchtower" \
--hostname "watchtower" \
--restart=unless-stopped \
--privileged \
-e TZ="${TZ:-${TIMEZONE:-America/New_York}}" \
-v "$HOME/.local/share/srv/docker/watchtower/data":/data:z \
-v "$HOME/.local/share/srv/docker/watchtower/config":/config:z \
-v /var/run/docker.sock:/var/run/docker.sock \
containrrr/watchtower &>/dev/null

Author

👤 Jason Hempstead