added docport
This commit is contained in:
parent
109e1a3cf4
commit
211b43e5ce
@ -115,6 +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 dolog="$DOCKER_COMPOSE_COMMAND up -d; $DOCKER_COMPOSE_COMMAND logs -f"
|
||||||
alias watchtower="docker run -d --restart unless-stopped --name 'watch-$(date +%H%M)' -v /var/run/docker.sock:/var/run/docker.sock containrrr/watchtower "
|
alias watchtower="docker run -d --restart unless-stopped --name 'watch-$(date +%H%M)' -v /var/run/docker.sock:/var/run/docker.sock containrrr/watchtower "
|
||||||
alias onetower="docker run --rm -v /var/run/docker.sock:/var/run/docker.sock containrrr/watchtower --run-once"
|
alias onetower="docker run --rm -v /var/run/docker.sock:/var/run/docker.sock containrrr/watchtower --run-once"
|
||||||
|
alias docport="docker container ls --format "table {{.ID}}\t{{.Names}}\t{{.Ports}}" -a"
|
||||||
# Regain all that space taken up by projects you abandoned
|
# Regain all that space taken up by projects you abandoned
|
||||||
alias docprune='echo "Pruning images"; docker image prune -f && echo "Pruning networks"; docker network prune -f && echo "Pruning containers"; docker container prune -f && echo "Pruning Volumes"; docker volume prune -f'
|
alias docprune='echo "Pruning images"; docker image prune -f && echo "Pruning networks"; docker network prune -f && echo "Pruning containers"; docker container prune -f && echo "Pruning Volumes"; docker volume prune -f'
|
||||||
# Send things instantly to a pastebin. Pipe other commands into this to share their output.
|
# Send things instantly to a pastebin. Pipe other commands into this to share their output.
|
||||||
|
Loading…
Reference in New Issue
Block a user