Mercurial > hg > zsh-env
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/zshrc-docker Thu Feb 04 02:17:06 2016 +0100 @@ -0,0 +1,9 @@ +# +# Useful aliases and functions for docker +# + +alias dc="docker-compose" +alias dim="docker images" +alias dpa="docker ps -a --format 'table {{.ID}}\t{{.Image}}\t{{.Status}}\t{{.Names}}'" + +dex() { docker exec -it $1 /bin/sh }