docker-apim icon indicating copy to clipboard operation
docker-apim copied to clipboard

Container is unhealthy on docker-compose

Open heckle-jeckle opened this issue 6 years ago • 4 comments

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 avatar Mar 29 '18 13:03 heckle-jeckle

@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.

jeremy303 avatar Mar 29 '18 16:03 jeremy303

@heckle-jeckle As mentioned by @HolySamosa try increasing healthcheck interval and retry values. You should be able to resolve this issue.

DilanUA avatar Mar 29 '18 20:03 DilanUA

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 avatar Jan 30 '19 13:01 jemliF

@jemliF In which compose yaml version are you getting this issue ?

DilanUA avatar Jan 30 '19 14:01 DilanUA