The auction service (first try)

This post describes how I set up a first version of the auction service that serves as the basis for all my docker swarm examples.

The first version will be very basic. In alter iterations I plan to enhance the API so that it more and more resembles the behavior of the auction in M.U.L.E.

The git repository for the service can be found on gitlab: IRATA repository on Gitlab

Continue reading The auction service (first try)

Creating the swarm

My machines are up and running so lets install a docker swarm

Activate swarm mode

The first thing to do is to create a master. In this case it will be the host
with the name silentmaxx

The output of this command neatly tells you what you have to do to add a worker:

Continue reading Creating the swarm

Setup machines for Docker

Setup machines for Docker

Now that vision and technology has been defined I start with setting up an environment for my project.

Setup the nodes for the cluster

Docker swarm needs at least three nodes (one master and two workers) in order to run.
These could be virtual machines or physical machines. You could even use Docker in Docker DinD to create the nodes of the swarm cluster.
There is a great post on how to do that here.

Continue reading Setup machines for Docker