feat(shell): add docker ls -a alias dkls

This lists all container on the system event stopped ones. This is different to
`dkps` that only displays running container. Some times it is helpfully to
display stopped container for getting the id and viewing logs when debugging
crashing containers
This commit is contained in:
Ade Attwood 2020-10-25 20:12:47 +00:00
parent 1368b94faf
commit b35513512b

View file

@ -4,6 +4,7 @@
alias dk="docker"
alias dkl="docker logs -f"
alias dkps="docker ps --format '{{.ID}} ~ {{.Names}} ~ {{.Status}} ~ {{.Image}}' | column -t -s'~'"
alias dkls="docker container ps -a --format '{{.ID}} ~ {{.Names}} ~ {{.Status}} ~ {{.Image}}' | column -t -s'~'"
alias dkrm="docker rm"
function dke() {