Made docker prune not require confirmation

This commit is contained in:
Brad Ganley 2023-12-12 19:35:06 -06:00
parent f5f78941c4
commit b4b145998a

View File

@ -115,7 +115,7 @@ alias redog="$DOCKER_COMPOSE_COMMAND down && $DOCKER_COMPOSE_COMMAND up -d; $DOC
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'
alias docprune='docker image prune -f && docker network prune -f && docker container prune -f && docker volume prune -f'
# Send things instantly to a pastebin. Pipe other commands into this to share their output.
alias bin='nc termbin.com 9999'
# Quicker Docker exec