Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description


A Dockerfile that installs Apache Hadoop 2.5.0, Apache Oozie 4.0.1 and Apache ZooKeeper 3.4.6 as a cluster environment.

Based on sequenceiq/hadoop-docker (


$ git clone
$ cd docker-biohadoop
$ sudo docker build -t="docker-biohadoop" .


docker-biohadoop provides two scripts, located in the scripts directory, that can be used to start and stop docker-biohadoop instances. Those scripts need to be executable:

$ chmod +x scripts/*.sh (depends on gnome-terminal)

Use this script to start a number of Hadoop instances. It takes the number of slaves (nr-of-slaves) as argument. The script starts one Docker container as Hadoop master and additional nr-of-slaves Docker containers as Hadoop slaves.


$ scripts/ 2

starts one Docker container as Hadoop master and 2 Docker containers as Hadoop slaves. Note that also the master is used for computational purposes. Therefor, Hadoop has 3 machines for computation with the settings above.

After invoking, a gnome-terminal is started for every Docker container. The master containers terminal has a red color, the slaves terminals are yellow. The master container starts the Hadoop environment, which may take some time (depending on the hardware and the number of slaves). After this initialisation, the hadoop cluster is ready for usage. Try to invoke the command jps on all running containers to look if Hadoop is running

$ jps

On the master node, it should output:

  • DataNode
  • JobHistoryServer
  • NodeManager
  • NameNode
  • QuorumPeerMain
  • ResourceManager
  • SecondaryNameNode

On the slave nodes it should output

  • DataNode
  • NodeManager.

Stops all running Docker containers and removes their interfaces from host.

$ scripts/

SSH access

The master node is accessible with user root, a password is generated on each startup and printed on the terminal. Consider adding your SSH key to the Dockerfile if you are going to use docker-biohadoop often.

Docker Pull Command
Source Repository