Skip to content
This repository was archived by the owner on Mar 18, 2024. It is now read-only.

Add a Ping() function to call the _ping endpoint#229

Open
AlbinOS wants to merge 1 commit intosamalba:masterfrom
GoPex:add_ping_docker_host_request
Open

Add a Ping() function to call the _ping endpoint#229
AlbinOS wants to merge 1 commit intosamalba:masterfrom
GoPex:add_ping_docker_host_request

Conversation

@AlbinOS
Copy link

@AlbinOS AlbinOS commented Feb 29, 2016

I propose this PR in order to add a function Ping() on the dockerclient to call the _ping endpoint of the docker daemon remote api.

I use this function to check if a docker host is still alive, I know that I could use Info() or Version() but I think this one is more lightweight if you don't care about any of the Info() or Version() results.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant