Pull down the pre-built mongo image from the Docker repository: Cinema - Localhost Deployment Overview. You don't state where you are connecting from and how. Forking allows me to keep MongoDB running in the background, and setting up a log is a prerequisite for daemonizing MongoDB.
Mongodb docker localhost Create new database, Create a database called testdb.