Mercurial > hg > zsh-env
comparison zshrc-docker @ 85:e0990028b5bf
Custom format when displaying docker images
author | Dirk Olmes <dirk.olmes@codedo.de> |
---|---|
date | Thu, 07 Apr 2016 14:01:37 +0000 |
parents | e14200194f68 |
children | e7b3df4a220f |
comparison
equal
deleted
inserted
replaced
84:e14200194f68 | 85:e0990028b5bf |
---|---|
1 # | 1 # |
2 # Useful aliases and functions for docker | 2 # Useful aliases and functions for docker |
3 # | 3 # |
4 | 4 |
5 alias dim="docker images" | 5 alias dim="docker images --format 'table {{.Repository}}\t{{.ID}}\t{{.Tag}}'" |
6 alias doc="docker-compose" | 6 alias doc="docker-compose" |
7 alias doker=docker | 7 alias doker=docker |
8 alias dpa="docker ps -a --format 'table {{.ID}}\t{{.Image}}\t{{.Status}}\t{{.Names}}'" | 8 alias dpa="docker ps -a --format 'table {{.ID}}\t{{.Image}}\t{{.Status}}\t{{.Names}}'" |
9 | 9 |
10 dex() { docker exec -it $1 /bin/sh } | 10 dex() { docker exec -it $1 /bin/sh } |