Created
May 9, 2021 10:02
-
-
Save ImanMousavi/cfe045e8531a8ea2af30ca25c613d3ac to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo docker run -d \ | |
--name watchtower \ | |
-e WATCHTOWER_NOTIFICATIONS_LEVEL=info \ | |
-e WATCHTOWER_NOTIFICATIONS=slack \ | |
-e WATCHTOWER_NOTIFICATION_SLACK_HOOK_URL="hook-url" \ | |
-v ~/.docker/config.json:/config.json \ | |
-v /var/run/docker.sock:/var/run/docker.sock \ | |
containrrr/watchtower -i 60 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment