Docker Community Forums

Share and learn in the Docker community.

How to enable Remote API for Ubuntu 14.04?

docker

(2strokemaster) #1

I can´t reach my Remote API for version 1.11.2 and API version 1.23.
Already tried to to change configuration in /etc/default/docker and /etc/init/docker.conf with -H tcp://127.0.0.1:2375 but nothing worked so far.
Do you have any suggestions how to solve?


(Nickdoikov) #2

If you use systemctl - try this manual.

https://success.docker.com/Datacenter/Apply/How_to_use_systemd_to_control_the_Docker_daemon


(2strokemaster) #3

systemctl not working for me, because 14.04 BUT solved it by manually starting daemon with “docker daemon -H tcp://127.0.0.1:2375 -H unix:///var/run/docker.sock &”.

So daemon is available through sock and tcp.