Difficulty: Beginner
Estimated Time: 10 minutes

Don’t stop now! The next scenario will only take about 10 minutes to complete.

Start blank Oekosystem

Step 1 of 3

Set up Docker-Swarm

Initialize a swarm with the following command docker swarm init

Pull the needed scripts from git-repo git clone https://github.com/sbernauer/Hadoop2docker.git && cd Hadoop2docker

See the parameters that the Script takes ./startUpBlankContainers.sh --help

Start a Oekosystem with 1 Manager and 2 Nodes. It has the default name "hadoop". With the flag -r we will use the public docker hub instead of our local registry, the flag -m and -n specify the images for the manager and node. ./startUpBlankContainers.sh -a 2 -r sbernauer -m manager:centOS -n node:centOS

Now look for the status of the Oekosystem. It may take about 4 mins until all containers are started !!! watch docker stack ps hadoop