comparison zshrc-docker @ 83:75a2fb4e6887

use a non-conflicting alias for docker-compose
author Dirk Olmes <dirk@xanthippe.ping.de>
date Fri, 05 Feb 2016 06:45:18 +0100
parents 0caebb6fae8d
children e14200194f68
comparison
equal deleted inserted replaced
82:0caebb6fae8d 83:75a2fb4e6887
1 # 1 #
2 # Useful aliases and functions for docker 2 # Useful aliases and functions for docker
3 # 3 #
4 4
5 alias dc="docker-compose"
6 alias dim="docker images" 5 alias dim="docker images"
6 alias doc="docker-compose"
7 alias dpa="docker ps -a --format 'table {{.ID}}\t{{.Image}}\t{{.Status}}\t{{.Names}}'" 7 alias dpa="docker ps -a --format 'table {{.ID}}\t{{.Image}}\t{{.Status}}\t{{.Names}}'"
8 8
9 dex() { docker exec -it $1 /bin/sh } 9 dex() { docker exec -it $1 /bin/sh }