genkio/blog

Debug a docker container initialization

genkio opened this issue · 0 comments

First start docker events in the background to see whats going on.

docker events&

Run container

docker run -d -p 49160:8080 name/image

Access log

docker logs <copy the instance id from docker events messages on screen>