echo "------------------------------------------------" echo "- Docker Developer Server Updater ---- 1.0.0.0 -" echo "- Image : containrrr/watchtower / Dev ----------" echo "------------------------------------------------" docker stop dev-updater sleep 1 echo "------------------------------------------------" docker kill dev-updater sleep 1 echo "------------------------------------------------" docker rm dev-updater sleep 1 echo "------------------------------------------------" docker run -d \ --name dev-updater \ -e WATCHTOWER_CLEANUP=true \ -e WATCHTOWER_DEBUG=true \ -e WATCHTOWER_SCHEDULE="0 2 * * 1" \ -v /var/run/docker.sock:/var/run/docker.sock \ containrrr/watchtower:latest-dev echo "------------------------------------------------" echo " Terminé. Service Actif en tant que dev-updater" echo "------------------------------------------------" echo ""