genkio / blog

Stay hungry stay foolish
https://slashbit.github.io/blog/
0 stars 1 forks source link

Debug a docker container initialization #200

Open genkio opened 2 years ago

genkio commented 2 years ago

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>