You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
673 B
Markdown

6 years ago
# MongoDB Quickstart with Python course
This project follow's Michael C. Kennedy's [MongoDB Quickstart.](https://github.com/mikeckennedy/mongodb-quickstart-course)
## Docker instructions
The docker container and documentation can be found [here](https://hub.docker.com/_/mongo).
We will use the following command to start up a container to host our data and
```
docker run --name quick-mongo -p 27017:27017 -v /Users/Drewbednar/PycharmProjects/try_mongo/data:/data/db -d mongo:3.6.12-xenial
```
When looking to restart your container simply run:
```
docker start quick-mongo
```
To check the configuration for the container run:
```
docker inspect quick-mongo
```