view zshrc-docker @ 83:75a2fb4e6887

use a non-conflicting alias for docker-compose
author Dirk Olmes <dirk@xanthippe.ping.de>
date Fri, 05 Feb 2016 06:45:18 +0100
parents 0caebb6fae8d
children e14200194f68
line wrap: on
line source

#
# Useful aliases and functions for docker
#

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

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