How can I debug a docker container initialization when starting from composer?

by Lennart Rolland   Last Updated September 04, 2017 09:00 AM

As a beginner in Docker, I am asking this question "how to debug/show the log and output during the start of a docker container", except I need to do this for a docker container that is started with docker-compose.

The container restarts over and over so any attempt at feeding the container log ID from docker events into docker logs is futile (the ID changes every 5-10 seconds since the service restarts continuously).

Related Questions

Docker Issue - exit status 34

Updated January 25, 2018 13:00 PM

docker stack network issue

Updated September 11, 2017 12:00 PM

Dockerfile for below application in Linux 7.3 or Centos

Updated December 26, 2017 08:00 AM