This is a Docker project to bring up a local storm cluster. In addition, the Pipework project is used to connect containers to each other.
If you're running Ubuntu, use the instructions for installing Docker on Linux.
If you're not on a Ubuntu host, use Vagrant to spin up a Ubuntu virtual machine with Docker installed.
Then, login to the virtual machine:
$ vagrant ssh
Once you're on a Ubuntu machine, install the following dependencies:
$ sudo apt-get install -y git make
$ git clone https://github.com/deinspanjer/docker-storm.git
$ cd docker-storm
$ make
$ make storm-container
$ make start-cluster
$ make test-cluster
$ make stop-cluster
Spinning up Docker containers consumes memory. If the memory allocated to your
Ubuntu [virtual] machine is not adaquate, make start-cluster
will fail with
something like:
runtime: panic before malloc heap initialized
fatal error: runtime: cannot allocate heap metadata