From: Tony Duckles Date: Sun, 25 Jul 2021 15:29:10 +0000 (-0500) Subject: .bashrc: Add docker-ps alias X-Git-Url: http://git.nynim.org/dotfiles.git/commitdiff_plain/d87812a76c47f1d5b4005bf0571a15e00a7b3639 .bashrc: Add docker-ps alias --- diff --git a/.bashrc b/.bashrc index 2400909..e7430cc 100644 --- a/.bashrc +++ b/.bashrc @@ -262,6 +262,7 @@ alias svn=svn-wrapper # docker helpers if [ -n "$(type -P docker)" ]; then + alias docker-ps="docker ps -a --format \"table {{.ID}}\t{{.Names}}\t{{.State}}\t{{.Status}}\t{{.Networks}}\"" alias docker-tail="docker logs -tf --tail 50" alias docker-top="docker run --name ctop -it --rm -v /var/run/docker.sock:/var/run/docker.sock quay.io/vektorlab/ctop" alias ctop="docker-top"