Browse Source

Merge pull request #12548 from camallen/docker_host_docs

add note in docs about DOCKER_HOST env var overriding unix socket config
Sebastiaan van Stijn 10 years ago
parent
commit
f51d77f86e
1 changed files with 6 additions and 0 deletions
  1. 6 0
      docs/installation/ubuntulinux.md

+ 6 - 0
docs/installation/ubuntulinux.md

@@ -175,6 +175,12 @@ To create the `docker` group and add your user:
 
         $ docker run hello-world
 
+	If this fails with a message similar to this:
+
+		Cannot connect to the Docker daemon. Is 'docker -d' running on this host?
+
+	Check that the `DOCKER_HOST` environment variable is not set for your shell.
+	If it is, unset it.
 
 ### Adjust memory and swap accounting