-
Notifications
You must be signed in to change notification settings - Fork 99
Prerequisites setup
Ivan Paulovich edited this page Mar 7, 2018
·
1 revision
Run the ./mongodb.sh
script to download the MongoDB image and run it as a Docker container.
Please wait until the ~400mb download to be complete.
$ ./mongodb.sh
mongo
mongo
56aaa704cabf95d55416b84cc123c8d85d3724b49bed6496c556068e685eb78a
$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
mongo latest d22888af0ce0 17 hours ago 361MB
$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
ba28cf144478 mongo "docker-entrypoint..." 2 days ago Up 2 days 0.0.0.0:27017->27017/tcp setup_mongodb_1
$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
56aaa704cabf mongo "docker-entrypoint.s…" About a minute ago Up About a minute 0.0.0.0:27017->27017/tcp mongo
If everything went well MongoDB will be running with the mongodb://10.0.75.1:27017
connection string.