codeclimate/tokumx

Name: tokumx

Owner: Code Climate

Description: docker image of ubuntu with tokumx installed

Created: 2016-01-22 16:24:48.0

Updated: 2016-01-22 16:24:49.0

Pushed: 2016-01-22 16:58:58.0

Homepage:

Size: 3

Language: null

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

TokuMX Dockerfile

This repository contains Dockerfile of TokuMX for Docker's automated build published to the public Docker Hub Registry.

Base Docker Image
Installation
  1. Install Docker.

  2. 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)

Usage
Run mongod
docker run -d -p 27017:27017 --name mongodb ankurcha/tokumx
Run mongod w/ persistent/shared directory
docker run -d -p 27017:27017 -v <db-dir>:/data/db --name mongodb ankurcha/tokumx
Run mongod w/ HTTP support
docker run -d -p 27017:27017 -p 28017:28017 --name mongodb ankurcha/tokumx mongod --rest --httpinterface
Run mongo
docker run -it --rm --link mongodb:mongodb ankurcha/tokumx bash -c 'mongo --host mongodb'
Usage with VirtualBox (boot2docker-vm)

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.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.