comparison zshrc-docker @ 102:23f027afc87f

syntax fix
author Dirk Olmes <dirk@xanthippe.ping.de>
date Wed, 09 Nov 2016 08:23:11 +0100
parents e7b3df4a220f
children 0348abf21fbe
comparison
equal deleted inserted replaced
101:e7b3df4a220f 102:23f027afc87f
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 dlf="ocker logs -f" 6 alias dlf="docker logs -f"
7 alias doc="docker-compose" 7 alias doc="docker-compose"
8 alias doker=docker 8 alias doker=docker
9 alias dpa="docker ps -a --format 'table {{.ID}}\t{{.Image}}\t{{.Status}}\t{{.Names}}'" 9 alias dpa="docker ps -a --format 'table {{.ID}}\t{{.Image}}\t{{.Status}}\t{{.Names}}'"
10 10
11 dex() { docker exec -it $1 /bin/sh } 11 dex() { docker exec -it $1 /bin/sh }