Mercurial > hg > zsh-env
view zshrc-docker @ 137:8b961f7d78d9
rearrange the fields to be more copy/paste friendly
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Wed, 04 Jul 2018 12:23:47 +0200 |
parents | 0348abf21fbe |
children | fe986adeadeb |
line wrap: on
line source
# # Useful aliases and functions for docker # alias dim="docker images --format 'table {{.Repository}}\t{{.Tag}}\t{{.ID}}'" alias dims="docker images --format 'table {{.Repository}}\t{{.Tag}}\t{{.ID}}\t{{.Size}}'" alias dlf="docker 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 }