Added watchtower zero-shot alias

This commit is contained in:
Brad Ganley 2023-12-08 18:38:06 -06:00
parent 769d114c86
commit bdfbd4419b

View File

@ -113,6 +113,7 @@ alias doco="$DOCKER_COMPOSE_COMMAND"
alias redoco="$DOCKER_COMPOSE_COMMAND down && $DOCKER_COMPOSE_COMMAND up -d"
alias redog="$DOCKER_COMPOSE_COMMAND down && $DOCKER_COMPOSE_COMMAND up -d; $DOCKER_COMPOSE_COMMAND logs -f"
alias dolog="$DOCKER_COMPOSE_COMMAND up -d; $DOCKER_COMPOSE_COMMAND logs -f"
alias watchtower="docker run -d --name watchtower -v /var/run/docker.sock:/var/run/docker.sock containrrr/watchtower --restart unless-stopped"
# Regain all that space taken up by projects you abandoned
alias docprune='docker image prune && docker network prune && docker container prune && docker volume prune'
# Send things instantly to a pastebin. Pipe other commands into this to share their output.