In this video we are going to expose the docker server using REST API. we will be creating a TCP connection on docker server.
Other clients can connect to the docker server using this REST API
ps –ef | grep docker
vim /lib/systemd/system/docker.service
ExecStart=/usr/bin/dockerd -H=fd:// -H=tcp://0.0.0.0:2375
systemctl daemon-reload
sudo service docker restart
curl http://localhost:2375/images/json
#docker #rest api #api