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 environments. Logging and preallocation is disabled and smallfiles are enabled.
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