From 1a8ef26988fc90a56c3046e79136a17a09ba5cd7 Mon Sep 17 00:00:00 2001 From: Till Höppner Date: Fri, 19 May 2017 17:52:10 +0200 Subject: Make ctop mount docker.sock:ro --- conf.d/90-alias.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf.d/90-alias.zsh b/conf.d/90-alias.zsh index 485c177..087f28c 100644 --- a/conf.d/90-alias.zsh +++ b/conf.d/90-alias.zsh @@ -11,7 +11,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 quay.io/vektorlab/ctop:latest' +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' alias sc=systemctl -- cgit v1.2.3