From ea21e67918e24ec28c68f73029f3a1fcbd016fc7 Mon Sep 17 00:00:00 2001 From: Dylan Fox Date: Sun, 8 Nov 2015 15:12:34 -0800 Subject: [PATCH] add more descriptive error message when unix mount fails --- docker-entrypoint.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 6353314..db276ec 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -8,6 +8,8 @@ if [[ $DOCKER_HOST == unix://* ]]; then cat >&2 <<-EOT ERROR: you need to share your Docker host socket with a volume at $socket_file Typically you should run your jwilder/nginx-proxy with: \`-v /var/run/docker.sock:$socket_file:ro\` + If you are running your daemon over TLS, make sure you are also exposing it over a Unix socket + with the -H unix:///var/run/docker.sock argument See the documentation at http://git.io/vZaGJ EOT socketMissing=1