view 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
line wrap: on
line source

#
# Useful aliases and functions for docker
#

alias dim="docker images --format 'table {{.Repository}}\t{{.ID}}\t{{.Tag}}'"
alias dlf="docker logs -f"
alias doc="docker-compose"
alias doker=docker
alias dpa="docker ps -a --format 'table {{.ID}}\t{{.Image}}\t{{.Status}}\t{{.Names}}'"

dex() { docker exec -it $1 /bin/sh }