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.

  • Transmit Heroku environement variables to Docker instance
  • Cannot access server in docker container
  • Multiple Docker Containers fails to properly run startup program
  • Automating docker commit and push
  • Process task structure between Docker and Host
  • Docker container not able to locate Zip packages?
  • How to configure Logstash to parse AWS ELB logs?
  • Is Docker a replacement for git source control? [closed]
  • Set Docker_Opts in centos
  • RHEL7: How to solve “ import read failed(2)”?
  • boot2docker under proxy returns Forbidden
  • Can I run JetBrains dotCover in a Linux Docker container?
  • 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.

    Got To:
    vi /etc/default/docker

    Add DOCKER_OPTS=”-H tcp://″

    restart docker service.

    Run netstat -lnp and see docker is running on port 2375

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.