summaryrefslogtreecommitdiff
path: root/conf.d
diff options
context:
space:
mode:
Diffstat (limited to 'conf.d')
-rw-r--r--conf.d/99-docker.zsh1
1 files changed, 1 insertions, 0 deletions
diff --git a/conf.d/99-docker.zsh b/conf.d/99-docker.zsh
index b2de0b7..903e2bb 100644
--- a/conf.d/99-docker.zsh
+++ b/conf.d/99-docker.zsh
@@ -11,5 +11,6 @@ dadopt() {
local sock="/tmp/$remote.sock"
unlink "$sock"
ssh -nNT -L "$sock:/var/run/docker.sock" "$remote" &
+ chmod og-rwx "$sock"
export DOCKER_HOST="unix://$sock"
}