view zshrc-docker @ 84:e14200194f68

add an alias when misspelling docker
author Dirk Olmes <dirk@xanthippe.ping.de>
date Sun, 28 Feb 2016 03:38:45 +0100
parents 75a2fb4e6887
children e0990028b5bf
line wrap: on
line source

#
# Useful aliases and functions for docker
#

alias dim="docker images"
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 }