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
On this page of the site you can watch the video online Access Docker using REST API or Expose docker remotely | Docker with a duration of hours minute second in good quality, which was uploaded by the user CodeWithRajRanjan 09 June 2020, share the link with friends and acquaintances, this video has already been watched 34,121 times on youtube and it was liked by 448 viewers. Enjoy your viewing!