I tried your Dockerfile with the base image CentOS (since your file used yum package), built it, and ran the container. Everything was fine. I believe the main problem was your image. Pull it to your local machine, build it as an image, and check the logs of your Docker image to see the problems.