Skip to content

Installing Prerequisites

Indika edited this page Oct 1, 2018 · 12 revisions


  1. Clone the repo
  2. Installing Docker

Clone the repo

The first thing you'll need to do is to clone the Haiku Node Prototype repository, so mkdir and cd into a suitable directory, then run:

git clone --recurse-submodules


cd haiku-node-prototype

Installing Docker

Docker and Docker Compose are required to fully interact with the Haiku Node Prototype. On OSX and Linux, both are available from Docker CE. This software has been tested against Docker 18.03.1-ce and Docker Compose 1.21.1. Avoid any compilation issues by allocating 8GB of RAM to the Docker process.

Installing Docker on Ubuntu based systems

For full instructions on how to install Docker CE, see

Update apt

sudo apt-get update

Install prerequisites

sudo apt-get install apt-transport-https ca-certificates curl software-properties-common

Add Docker's GPG Key

curl -fsSL | sudo apt-key add -

Add the Docker CE Repo

sudo add-apt-repository "deb [arch=amd64] $(lsb_release -cs) stable"

Update apt

sudo apt-get update


sudo apt-get install docker-ce

Additional step - you may need to add your user to the docker group, then log out/in:

sudo adduser [username] docker

Install the latest Docker Compose. For full instructions, see

Download the latest version

sudo curl -L$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose

Make executable

sudo chmod +x /usr/local/bin/docker-compose


docker-compose --version

should output

docker-compose version 1.21.2, build 1719ceb

Installing on Docker OSX

Docker for Mac can be obtained from here:

Next: Getting Started - Initialising the Demo System