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:
parent
1368b94faf
commit
b35513512b
1 changed files with 1 additions and 0 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue