ubuntu 16.04
Inside file /lib/systemd/system/docker.service change:
ExecStart=/usr/bin/dockerd -H fd:// -H
tcp://0.0.0.0:2375and run:
> pkill docker
> systemctl daemon-reload
> systemctl start docker.service
> docker-compose up
--------------------------------------------------------------------------------------------------------------------
I tried the above recommendations but then i cannot run any
docker container or any docker commands. It just hangs
after trying:
Inside file /lib/systemd/system/docker.service change:
ExecStart=/usr/bin/dockerd fd://
with
ExecStart=/usr/bin/dockerd -H
tcp://0.0.0.0:2375Inside file /etc/init.d/docker change:
DOCKER_OPTS=
with
DOCKER_OPTS="-H
tcp://0.0.0.0:2375"