A minimal mongodb image based on alpine. Its size is only 142 MB. To run mongo in '--auth' mode.
218
A minimal mongodb image based on alpine. Its size is only 142 MB. The default behavior is to run mongo in '--auth' mode.
To download this image from the public docker hub:
$ docker pull liuyuqi/alpine-mongo
To re-build this image from the dockerfile:
$ docker build --tag liuyuqi/alpine-mongo .
Make sure the host has /var. And add MONGO_USERNAMEćMONGO_PASSWORD to ENV.
$ docker run -d -e "MONGO_USERNAME=your-username" -e "MONGO_PASSWORD=your-password" -v /var:/var -p 27017:27017 liuyuqi/alpine-mongo
Content type
Image
Digest
Size
63 MB
Last updated
over 8 years ago
docker pull liuyuqi/alpine-mongo