Percona TokuMX Dockerfile.
Builds a docker container on top of the latest CentOS (currently 7.1) and installs TokuMX into it. The database directory can be bind-mounted from the host.
Build the Dockerfile locally:
docker build -t "nechpce/tokumx" github.com/nechpce/tokumx
or download the automatically built docker image from docker hub:
docker pull nechpce/tokumx
docker run -d -p 27017:27017 --name mongodb nechpce/tokumx
docker run -d -p 27017:27017 -v <host-db-dir>:/data/db --name mongodb nechpce/tokumx
docker run -d -p 27017:27017 -p 28017:28017 --name mongodb nechpce/tokumx mongod --rest --httpinterface
docker run -it --rm --link mongodb:mongodb nechpce/tokumx bash -c 'mongo --host mongodb'
... go to http://github.com/ankurcha/tokumx for the ubuntu Dockerfile.