Sign inSign up

jamesridgway/mongo-tmpfs

By jamesridgway

•Updated about 8 years ago

mongo-tmpfs is a docker container for running a mongo instance against a tmpfs storage volume.

Image
1

100K+

jamesridgway/mongo-tmpfs repository overview

mongo-tmpfs is a docker container for running a mongo instance against a tmpfs storage volume.

This container is designed to enhance performance in testing environment. Logging and preallocation is disabled and smallfiles are enabled.

The TMPFS_SIZE environment variable can be used to configure the size (in MB) of the tmpfs volume.

docker run  --name mongo-tmpfs \
            --privileged \
            -p 27017:27017 \
            jamesridgway/mongo-tmpfs

Tag summary

Content type

Image

Digest

sha256:f3329a072…

Size

91.3 MB

Last updated

almost 9 years ago

docker pull jamesridgway/mongo-tmpfs