I’ve always be intrigued by the underlying of the Raft algorithm in Docker Swarm. This article aim to provide information to better understand what is happening behind the hood.
I really love Docker ! I started my trip in the Docker ecosystem more than 2 years ago when I worked in the previous startup I co-founded. I started playing with containers and, gosh, really enjoyed it. Even more than that… I got a wow effect that I still get using Docker today.
If you are using Docker on MacOS or Windows 10 Pro, chances are that you use the dedicated…
In a precedent 30.000-foot view series, we saw how AppArmor is used with Docker so container can be confined by default in an AppArmor profile.
With Docker 1.13, it’s now possible to deploy a stack from a docker-compose file. Let’s test that and deploy the Voting App on a 3 nodes swarm.
In a previous article, we explained how Docker containers can be ran on Joyent’s Triton platform and we also started to talk about the Autopilot pattern. We’ll now go deeper to better understand Autopilot and how ContainerPilot help setting this up.
In this article we will see how we can deploy a 3 nodes MongoDB replica set (1 primary and 2 secondaries) in a Docker swarm cluster created with swarm mode.
Swarm mode: quick introduction
A better Dockerfile for my Node.js application
A not so great Dockerfile
Not that long ago, when I needed to dockerize my Node.js application, I used a Dockerfile like the following one.
When I started to work at TRAXxs (we are doing some pretty cool stuff there btw :) ), there was a lot of things to put in place to setup our back-end / front-end layers. The cool thing was the possibility to select the technologies we will use… Let’s go Docker, Node.js, Mongo + other cool…