Docker Remote API on CentOS

After installing Docker on CentOS we need to Docker remote API port on CentOS. $ cat /etc/sysconfig/docker other_args="" Edit the file /etc/sysconfig/docker as below. other_args="-H tcp://0.0.0.0:4243 -H unix:///var/run/docker.sock" After that, restart docker and try to access the host from another host. $ sudo /etc/init.d/docker restart … $ curl $hostname:4243/images/json … For a systemd based Distro…