view zshrc-docker @ 93:86cdb5c21cc7

Backed out changeset 5d71a5c05d87
author Dirk Olmes <dirk@xanthippe.ping.de>
date Tue, 24 May 2016 10:05:49 +0200
parents e0990028b5bf
children e7b3df4a220f
line wrap: on
line source

#
# Useful aliases and functions for docker
#

alias dim="docker images --format 'table {{.Repository}}\t{{.ID}}\t{{.Tag}}'"
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 }