docker-apim
docker-apim copied to clipboard
Container is unhealthy on docker-compose
Description: I have an error at the launch of the docker-compose :
ERROR: for api-manager Container "562efb6a5611" is unhealthy. ERROR: for is-as-km Container "562efb6a5611" is unhealthy. ERROR: Encountered errors while bringing up the project.
OS mac os
Can someone help me ?
@heckle-jeckle I've had a similar issue, caused by the 'healthcheck' failing due to beginning to poll before the container was fully started. I've increased the polling interval in docker-compose.yml to resolve the issue.
@heckle-jeckle As mentioned by @HolySamosa try increasing healthcheck interval and retry values. You should be able to resolve this issue.
I've got the same behavior on Ubuntu 16.04 with Docker version 18.09.0, build 4d60db4 and docker-compose version 1.18.0, build 8dd22a9. I tried increasing the healthcheck interval and timeout, but I got the same issue again and again.
@jemliF In which compose yaml version are you getting this issue ?