How to enable docker remote API on docker host?
- Navigate to /lib/systemd/system in your terminal and open docker.service file
vi /lib/systemd/system/docker.service - 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 - Save the Modified File
Reload the docker daemon using the below command

systemctl daemon-reload
Restart the docker service using the below command

sudo service docker restart
- 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 - To test remotely, use the PC name or IP address of Docker Host
New to ADSelfService Plus?
Related Articles
REST API Monitor - FAQS
What to Do When Basic Authentication Fails in REST API Monitor: When Basic Authentication fails in the REST API monitor, follow these steps to troubleshoot and resolve the issue: Verify Credentials: Ensure the credentials provided in Applications ...
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 ...
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 ...
Adding APM Insight Java agent in a Kubernetes environment
There are three methods for installing the APM Insight Java agent in a Kubernetes environment: Using Dockerfile Using InitContainers Using Persistent Volumes Prerequisites Download the latest APM Insight Java agent ZIP file. Extract the ZIP file and ...
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 ...