Mercurial > hg > zsh-env
annotate 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 |
rev | line source |
---|---|
82
0caebb6fae8d
move the helpers for docker into a separate file
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
1 # |
0caebb6fae8d
move the helpers for docker into a separate file
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
2 # Useful aliases and functions for docker |
0caebb6fae8d
move the helpers for docker into a separate file
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
3 # |
0caebb6fae8d
move the helpers for docker into a separate file
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
4 |
0caebb6fae8d
move the helpers for docker into a separate file
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
5 alias dim="docker images" |
83
75a2fb4e6887
use a non-conflicting alias for docker-compose
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
82
diff
changeset
|
6 alias doc="docker-compose" |
82
0caebb6fae8d
move the helpers for docker into a separate file
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
7 alias dpa="docker ps -a --format 'table {{.ID}}\t{{.Image}}\t{{.Status}}\t{{.Names}}'" |
0caebb6fae8d
move the helpers for docker into a separate file
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
8 |
0caebb6fae8d
move the helpers for docker into a separate file
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
9 dex() { docker exec -it $1 /bin/sh } |