How to debug docker-compose up failed?

Viewed 1626

My docker configuration is returning error message with docker-compose up.

ERROR: for proxy  Container "d23a4ae03365" is unhealthy.

One of the containers failed to start. Now, the problem is how to debug it. Should I find the container (I know exactly which one) in my docker-compose.yml and build up a manual docker command like:

docker run -i -t <Image Name> -v ... -v ... /bin/bash

Go inside the container and work out why it didn't start.

That will require me manually fill in the volume paths. Otherwise, how to debug it? I just need to know the error message.

0 Answers
Related