Name: tokumx
Owner: Datadog, Inc.
Description: docker image of ubuntu with tokumx installed
Forked from: ankurcha/tokumx
Created: 2016-07-27 19:57:25.0
Updated: 2016-07-27 20:49:59.0
Pushed: 2016-07-27 20:49:59.0
Size: 3
Language: Shell
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This repository contains Dockerfile of TokuMX for Docker's automated build published to the public Docker Hub Registry.
Install Docker.
Download automated build from public Docker Hub Registry: docker pull ankurcha/tokumx
(alternatively, you can build an image from Dockerfile: docker build -t="ankurcha/tokumx" github.com/ankurcha/tokumx
)
mongod
docker run -d -p 27017:27017 --name mongodb ankurcha/tokumx
mongod
w/ persistent/shared directorydocker run -d -p 27017:27017 -v <db-dir>:/data/db --name mongodb ankurcha/tokumx
mongod
w/ HTTP supportdocker run -d -p 27017:27017 -p 28017:28017 --name mongodb ankurcha/tokumx mongod --rest --httpinterface
mongo
docker run -it --rm --link mongodb:mongodb ankurcha/tokumx bash -c 'mongo --host mongodb'
You will need to set up nat port forwarding with:
VBoxManage modifyvm "boot2docker-vm" --natpf1 "guestmongodb,tcp,127.0.0.1,27017,,27017"
This will allow you to connect to your mongo container with the standard mongo
commands.