summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTill Höppner2017-05-19 17:52:10 +0200
committerTill Höppner2017-05-19 17:52:10 +0200
commit1a8ef26988fc90a56c3046e79136a17a09ba5cd7 (patch)
treeb3aacc99fbc0837cd6a29bfe7b2e0b0266e7bfe8
parente512e74069a7014f757de6203b702721fb7692c1 (diff)
downloadzsh-1a8ef26988fc90a56c3046e79136a17a09ba5cd7.tar.gz
zsh-1a8ef26988fc90a56c3046e79136a17a09ba5cd7.tar.xz
zsh-1a8ef26988fc90a56c3046e79136a17a09ba5cd7.zip
Make ctop mount docker.sock:ro
-rw-r--r--conf.d/90-alias.zsh2
1 files changed, 1 insertions, 1 deletions
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