https://stackoverflow.com/questions/18497688/run-a-docker-image-as-a-container

run -it --entrypoint /bin/sh ubuntu:12.04

This also allows you to inspect contents of the container, its files etc.