Docker Community Forums

Share and learn in the Docker community.

HealthCheck status not reported by the API

docker
beta

(nicolas De Loof) #1

Expected behavior

docker inspect should include Health status

Actual behavior

no Health attribute
running docker inspect from Moby (using screen on tty) demonstrate the HealthCheck is well set, just not reported by docker API from the Mac side.

Information

  • the output of:
    Docker for Mac: version: mac-v1.12.0-beta16.2
    OS X: version 10.11.5 (build: 15F34)
    logs: /tmp/20160627-101345.tar.gz
    failure: No error was detected
    [OK] docker-cli
    [OK] app
    [OK] menubar
    [OK] virtualization
    [OK] system
    [OK] osxfs
    [OK] db
    [OK] slirp
    [OK] moby-console
    [OK] logs
    [OK] vmnetd
    [OK] env
    [OK] moby
    [OK] driver.amd64-linux

  • a reproducible case if this is a bug, Dockerfiles FTW
    just run https://github.com/docker/docker/blob/master/docs/reference/run.md#healthcheck sample

  • host distribution and version
    OSX 10.11.5