https://github.com/anapsix/docker-mongodb
MongoDB in a box
https://github.com/anapsix/docker-mongodb
Last synced: about 2 months ago
JSON representation
MongoDB in a box
- Host: GitHub
- URL: https://github.com/anapsix/docker-mongodb
- Owner: anapsix
- Created: 2015-09-23T19:14:10.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-09-25T15:26:15.000Z (over 9 years ago)
- Last Synced: 2025-03-25T03:34:53.627Z (2 months ago)
- Language: Shell
- Size: 730 KB
- Stars: 4
- Watchers: 2
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MongoDB in a box
(!!! mongodb@testing over alpine:edge !!!) AlpineLinux-base Docker image with MongoDB
[](https://imagelayers.io/?images=anapsix/mongodb:latest)
## Usage
as Server:
docker run -d --name mongodb -p 27017:27017 -v /data/mongodb:/var/lib/mongodb anapsix/mongodb
as Client:
docker run -it --rm anapsix/mongodb mongo --help
## Configuration
You may pass config options via command line, as you normally would:
docker run -d -p 27017:27017 \
-v /data/mongodb:/var/lib/mongodb \
anapsix/mongodb --storageEngine wiredTiger