summaryrefslogtreecommitdiff
path: root/conf.d/99-docker.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'conf.d/99-docker.zsh')
-rw-r--r--conf.d/99-docker.zsh7
1 files changed, 7 insertions, 0 deletions
diff --git a/conf.d/99-docker.zsh b/conf.d/99-docker.zsh
new file mode 100644
index 0000000..46c3de2
--- /dev/null
+++ b/conf.d/99-docker.zsh
@@ -0,0 +1,7 @@
+alias d=docker
+alias dc=docker-compose
+alias dm=docker-machine
+
+alias dtop='d stats $(d ps --format={{.Names}})'
+alias ctop='d run -it --name ctop --rm -v /var/run/docker.sock:/var/run/docker.sock:ro quay.io/vektorlab/ctop:latest'
+alias dlog='d logs --follow --timestamps --tail=10000'