The seven steps in order
docker ps -a | grep myapp— does the container exist? What's its status?docker logs --tail 100 myapp— what did it say before dying?docker inspect myapp --format '{{.State.ExitCode}}'— what was the exit code?docker run -it --rm <image> sh— can you even start a shell from this image?docker exec -it myapp sh— if it's running but broken, get inside.docker port myapp— are ports actually mapped?docker network inspect <net>— is it on the right network with the right peers?