How do i expose the Docker Remote API on Centos 7?
<p>On ubuntu i can go into <code>/etc/init/docker.conf</code> and put in <code>DOCKER_OPTS='-H tcp://0.0.0.0:4243 -H unix:///var/run/docker.sock'</code> to get the json data to display on my browser but how can i do it for Centos?</p>

<p>I have tried creating a file in <code>/etc/sysconfig/docker</code> and placing <code>other_args="-H tcp://0.0.0.0:4243 -H unix:///var/run/docker.sock"</code> inside the file and restarting docker but it doesn't do anything.</p>