Add the following lines to the /etc/sysconfig/docker file and restart the docker
other_args="-H tcp://0.0.0.0:4243 -H unix:///var/run/docker.sock"
Restart Docker
service docker restart
Now check the docker API using the following command
curl host:4243/info