How to resolve docker push error that results in v1 ping attempt failed with error

How to resolve docker push error that results in v1 ping attempt failed with error

AuthorFullName__c
JFrog Support
articleNumber
000001219
ft:sourceType
Salesforce
FirstPublishedDate
2016-10-06T13:38:04Z
lastModifiedDate
2016-10-06
VersionNumber
3

When you run docker push, you may see the following error:

 

FATA[0040] Error response from daemon: v1 ping attempt failed with error: Get http://dockerhost:5001/v1/_ping: read tcp 11.22.33.44:8080: i/o timeout

 

It can be caused by the daemon http proxy settings in /etc/systemd/system/docker.service.d/http-proxy.conf

 

Please fix the setting to resolve the issue.