How to enable docker remote API on docker host?

How to enable docker remote API on docker host?

  1. Find the line which starts with ExecStart and adds -H=tcp://0.0.0.0:4243 to make it look like
    ExecStart=/usr/bin/dockerd -H=fd:// -H=tcp://0.0.0.0:4243
  2. Save the Modified File
  3. Reload the docker daemon using the below command
    systemctl daemon-reload
  4. Restart the docker service using the below command
    sudo service docker restart
  5. Test if it is working by using this command, if everything is fine below command should return a JSON
    curl http://localhost:4243/images/json
  6. To test remotely, use the PC name or IP address of Docker Host

                  New to ADSelfService Plus?

                    • Related Articles

                    • REST API Monitor Troubleshooting Guide

                      Whether you're adding a new REST API monitor or troubleshooting an existing one, the following steps can help resolve common issues. Troubleshooting 4xx Error Codes (e.g., 401, 403) Check Request Configuration: Verify that the correct HTTP method ...
                    • Service Now Event Integration using Webhook / Rest API Action

                      Steps to perform in Service Now 1) Login to your ServiceNow Instance(dev*****133.service-now.com) 2) Search for the Rest API Explorer and open it 3) In the Rest API Explorer page choose the Namespace and API Name with the proper API version. For ...
                    • REST API Monitor - FAQS

                      1. What to do when Basic Authentication fails in REST API monitor? When Basic Authentication fails in the REST API monitor, follow the below steps to troubleshoot the error. Ensure the credentials provided in Applications Manager (Username and ...
                    • OpenShift Monitoring in Rest API Mode

                      For the OpenShift monitor, data collection when carried out using SSH mode sometimes results in timeout exception due to the presence of large amount of data to be collected. To avoid this, an enhancement has been made and now data collection will ...
                    • Unable to connect to the host

                      Follow the below steps to troubleshoot the error Check if the given Host Name / IP Address is correct. Run the below command in Applications Manger installed server to ensure Host / IP Address is reachable. ping <Host Name/IP Address> Eg: ping ...