Mercurial > hg > zsh-env
view zshrc-docker @ 101:e7b3df4a220f
add an alias for docker logs
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Wed, 09 Nov 2016 08:21:54 +0100 |
parents | e0990028b5bf |
children | 23f027afc87f |
line wrap: on
line source
# # Useful aliases and functions for docker # alias dim="docker images --format 'table {{.Repository}}\t{{.ID}}\t{{.Tag}}'" alias dlf="ocker 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 }