From d87812a76c47f1d5b4005bf0571a15e00a7b3639 Mon Sep 17 00:00:00 2001 From: Tony Duckles Date: Sun, 25 Jul 2021 10:29:10 -0500 Subject: [PATCH] .bashrc: Add docker-ps alias --- .bashrc | 1 + 1 file changed, 1 insertion(+) 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" -- 2.47.1