Mercurial > hg > zsh-env
view zshrc-docker @ 85:e0990028b5bf
Custom format when displaying docker images
author | Dirk Olmes <dirk.olmes@codedo.de> |
---|---|
date | Thu, 07 Apr 2016 14:01:37 +0000 |
parents | e14200194f68 |
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 }