diff zshrc-docker @ 150:bb583ebb33e6

added another alias for docker
author Dirk Olmes <dirk@xanthippe.ping.de>
date Mon, 12 Nov 2018 13:27:45 +0100
parents fe986adeadeb
children
line wrap: on
line diff
--- a/zshrc-docker	Mon Nov 12 13:23:37 2018 +0100
+++ b/zshrc-docker	Mon Nov 12 13:27:45 2018 +0100
@@ -8,6 +8,7 @@
 alias doc="docker-compose"
 alias doker=docker
 alias dpa="docker ps -a --format 'table {{.ID}}\t{{.Image}}\t{{.Status}}\t{{.Names}}'"
+alias dsh="docker run -it --rm --entrypoint /bin/sh"
 
 dex() { docker exec -it $1 /bin/sh }