Debug a docker container failing to run
Problem:
I was building a new docker image and it failed to run every time I tryied.
As you know if the container isn't running you can't peek inside.
Solution::
Run bash using the image so you can poke around to find the cause.
I was building a new docker image and it failed to run every time I tryied.
As you know if the container isn't running you can't peek inside.
Solution::
Run bash using the image so you can poke around to find the cause.
docker run -it imagename /bin/bash
Comments
Post a Comment