Enable Remote API on Docker hosts in Ubuntu 14
I am running ‘Docker version 1.10.3, build 20f81dd’ on Ubuntu 14.04. Now my requirement is to create/delete/manage new container from the REST API (HTTP) from outside world. So, for this how could I enable Docker to run on a port.
It will be helpful if I get details step as in net I tried few but didn’t work.
One Solution collect form web for “Enable Remote API on Docker hosts in Ubuntu 14”
I found the solution and it’s very easy at all. Here is the configuration.
Add DOCKER_OPTS=”-H tcp://127.0.0.1:2375″
restart docker service.
Run netstat -lnp and see docker is running on port 2375