Add `ping` to Docker image

Well, how “ping” would know so much information about a process from a different binary?

Ping would just give you the information that the instance is running. /health does much more than that. It is an endpoint made for admin. Where the administrator knows the server is not in trouble. It is the Dgraph’s own binary declaring this information. Ping would never do that.

Nice.

Well, if the instance goes down, obviously the endpoint /health will no longer be available. This is equivalent to the same Ping process.

If you have something more complicated, try some process with webhooks via cURL. That would be more elaborate than Pings.