1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

add note about DOCKER_HOST env var overriding unix socket config

when trying to use docker without sudo and the DOCKER_HOST env var is set docker tries to connect to the specified host instead of using the unix socket.

Signed-off-by: Campbell Allen <campbell.allen@gmail.com>
This commit is contained in:
Campbell Allen 2015-04-22 10:19:18 +01:00
parent 423e6dc333
commit 3cb9f7f6aa

View file

@ -175,6 +175,12 @@ To create the `docker` group and add your user:
$ docker run hello-world $ 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 ### Adjust memory and swap accounting