Scripts to use the hfactory-server with docker-machine
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 4 commits ahead of eric-leblouch:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


The hfactory-server-in-docker-machine github project packages all the utilities necessary for a simple installation of HFactory Server via Docker. The image contains both an HBase standalone Docker and a HFactory Server inside a hfactoryserver Docker machine.

Restarting the containers allows you to start again with an empty HBase server.


To use the container, you need to have VirtualBox and Docker-machine installed.


In order to install VirtualBox, go to :

Docker Machine

In order to install docker-machine, go to :

  • Download the last version
  • Put the command in the path

Using the HFactory server in docker machine

For ease of use you can put the bin folder in your path.

First initialization

Launch init and edit the /etc/hosts file as required

Using the containers

To start the containers simply use start

The hbase container is launched in host-only mode and you can connect to it directly using hfactoryserver for the hbase.zookeeper.quorum property

The hfactoryserver container is launched to listen on port 80 and you can connect to it directly using http://hfactoryserver

To stop the docker containers use stop

To read the logs serverlog or hbaselog

To kill the containers if stopping it does not work kill

To restart the container restart does stop/start

For getting the status status gives you the docker processes running on the hfactoryserver instance

docker-machine related commands

To launch the hfactoryserver docker machine up

To connect to it ssh

To stop it shutdown

Applications installation putApp applicationFolder to add an application in the server removeApp applicationName to remove an application from the server

Advanced usage

To make the hbase container data persistent use export PERSISTS="true"