An open API service indexing awesome lists of open source software.

https://github.com/dannyben/docker-alpine-mongo

Docker Alpine MongoDB Image
https://github.com/dannyben/docker-alpine-mongo

Last synced: 3 months ago
JSON representation

Docker Alpine MongoDB Image

Awesome Lists containing this project

README

          

Docker Alpine MongoDB Image
==================================================

Alpine Linux with MongoDB.

```
# Basic run
$ docker run -it -p 27017:27017 dannyben/alpine-mongo

# Run with data mounted to the native host
$ docker run -v ~/my_mongo_data:/data/db -it -p 27017:27017 dannyben/alpine-mongo
```

With the provided `docker-compose` file, you can also run:

```
$ docker-compose up -d mongodb
$ docker-compose run client
```

- [View on Docker Hub][1]
- [View on GitHub][2]

[1]: https://hub.docker.com/r/dannyben/alpine-mongo/
[2]: https://github.com/DannyBen/docker-alpine-mongo