annotate zshrc-docker @ 82:0caebb6fae8d

move the helpers for docker into a separate file
author Dirk Olmes <dirk@xanthippe.ping.de>
date Thu, 04 Feb 2016 02:17:06 +0100
parents
children 75a2fb4e6887
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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 dc="docker-compose"
0caebb6fae8d move the helpers for docker into a separate file
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
6 alias dim="docker images"
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 }