comparison zshrc-docker @ 136:0348abf21fbe

add another alias for listing docker images with size
author Dirk Olmes <dirk@xanthippe.ping.de>
date Wed, 04 Jul 2018 10:34:22 +0200
parents 23f027afc87f
children 8b961f7d78d9
comparison
equal deleted inserted replaced
135:3dd5b3b873aa 136:0348abf21fbe
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 --format 'table {{.Repository}}\t{{.ID}}\t{{.Tag}}'" 5 alias dim="docker images --format 'table {{.Repository}}\t{{.ID}}\t{{.Tag}}'"
6 alias dims="docker images --format 'table {{.Repository}}\t{{.ID}}\t{{.Tag}}\t{{.Size}}'"
6 alias dlf="docker logs -f" 7 alias dlf="docker logs -f"
7 alias doc="docker-compose" 8 alias doc="docker-compose"
8 alias doker=docker 9 alias doker=docker
9 alias dpa="docker ps -a --format 'table {{.ID}}\t{{.Image}}\t{{.Status}}\t{{.Names}}'" 10 alias dpa="docker ps -a --format 'table {{.ID}}\t{{.Image}}\t{{.Status}}\t{{.Names}}'"
10 11