How to debug a crashing docker container
If want to run your docker process with some tweaks because it's crashing in your docker container and causing the container itself to stop (without giving you a way to inspect the files on the image), here's the magic command to start it with just bash.
(I found this after quite a bit of hunting on the internet, the magic flag is --entrypoint and don't forget the -s at the end)
Here's a sample command:
docker run -it --entrypoint /bin/bash $IMAGE -s