/docker-mongo

Dockerfile and script for creating MongoDB container

Primary LanguageShell

Docker image for MongoDB

This image is a build of MongoDB’s Docker image.

Building and running the image

You can build the image on your local machine with the following commands:

cd docker/

docker build . -t jmreif/mongodb

To run the container, execute the following command in the root directory:

./runMongoDB.sh

You can run a docker ps at the command line to verify the container is still running.