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()