Skip to content

Latest commit

 

History

History

mongo-example

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Simple Mongo Image w/ Some Sample Data

Add a simple Car data set to a mongo collection.

Helpful stackoverflow

  • Start image by running

docker run -d -t -p 27017:27017 datadidit/mongo-example
  • Login into mongo console

docker exec -i -t [container ID] mongo

Run the following commands to see the data:

> use example
> db.cars.find()