Skip to content

HEALTHCHECK configured in Dockerfile doesn't work

It appears that HEALTHCHECK definition in Dockerfile is incorrect. See logs from docker inspect below:

"Health": {
  "Status": "unhealthy",
  "Output": "/bin/sh: 1: /opt/gitlab/bin/healthcheck: not found\n"
  "Output": "/bin/sh: 1: /opt/gitlab/bin/healthcheck: not found\n"
  "Output": "/bin/sh: 1: /opt/gitlab/bin/healthcheck: not found\n"
  "Output": "/bin/sh: 1: /opt/gitlab/bin/healthcheck: not found\n"
  "Output": "/bin/sh: 1: /opt/gitlab/bin/healthcheck: not found\n"
}