Docker Daemon not working

I just installed Docker on mu Ubuntu 14.10 64-bit OS, and I followed the steps to create the necessary certificates and keys so that I can protect remote connections to the http docker. When I tried to execute the following command,

sudo docker --tlsverify --tlscacert=ca.pem --tlscert=cert.pem --tlskey=key.pem -H=x.x.x.x:2376 version

I see the following error message:

Cannot connect to the Docker daemon. Is 'docker -d' running on this host

-H = xxxx is the host, as I see it, when I did ifconfig and found the host from the docker0 entry that was specified.

Please help me identify why I cannot do anything with my demon.

0
source share
1 answer

Have you changed the parameters of the daemon itself? Paraphrasing documents :

2376 -H tcp://0.0.0.0: 2376 , IP-: -H tcp://192.168.59.103: 2376.

/etc/init/docker.conf DOCKER_OPTS

+2

Source: https://habr.com/ru/post/1611237/


All Articles