I have a simple question regarding Docker Engine API v1.40 reference
In API 1.40 the health status is documented to be available in State.Status.Health
In API 1.39, the health status in not documented but seems to be there (I’ve tested with a docker engine 18.09)
The question is, is that feature present and not documented in 1.39 and present, as in 1.39 and documented in 1.40 ?
Or the behaviour in 1.39 is a preview/beta and the only official release is in 1.40.
Here are my findings until now, small hint, I am completly a go noob.
Starting from the swagger we get the operation behind the rest call :
ContainerInspect
From there, I find an interface that expose the ContainerInspect method.
Then, into components/engine/api/server/router/container/inspect.go I think I found the actual call to inspect REST calls.