Last active
March 27, 2022 18:29
-
-
Save 64bitint/3c122b211c70519153fc208c01766ba9 to your computer and use it in GitHub Desktop.
Update docker container using watchtower
This file contains hidden or 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
| echo "Select docker container to update using Watchtower:"; select opt in $(docker ps --format "{{.Names}}"); do | |
| docker run --rm -v /var/run/docker.sock:/var/run/docker.sock containrrr/watchtower --run-once "$opt"; break; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment