Mercurial > hg > zsh-env
annotate zshrc-docker @ 114:eaffab53cf43
Automated merge with https://xanthippe.duckdns.org/hg/zsh-env
author | Dirk Olmes <dirk.olmes@exentra.de> |
---|---|
date | Tue, 24 Jan 2017 14:16:38 +0100 |
parents | 23f027afc87f |
children | 0348abf21fbe |
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 |
85
e0990028b5bf
Custom format when displaying docker images
Dirk Olmes <dirk.olmes@codedo.de>
parents:
84
diff
changeset
|
5 alias dim="docker images --format 'table {{.Repository}}\t{{.ID}}\t{{.Tag}}'" |
102 | 6 alias dlf="docker logs -f" |
83
75a2fb4e6887
use a non-conflicting alias for docker-compose
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
82
diff
changeset
|
7 alias doc="docker-compose" |
84
e14200194f68
add an alias when misspelling docker
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
83
diff
changeset
|
8 alias doker=docker |
82
0caebb6fae8d
move the helpers for docker into a separate file
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
9 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
|
10 |
0caebb6fae8d
move the helpers for docker into a separate file
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
11 dex() { docker exec -it $1 /bin/sh } |