Skip to content
This repository was archived by the owner on Nov 6, 2023. It is now read-only.

Files

Latest commit

77f54b0 · Jan 2, 2018

History

History

porting

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Sep 1, 2017
Jan 2, 2018
Jun 9, 2017
Dec 15, 2017
Jun 9, 2017
Jun 9, 2017
Jun 9, 2017
Jun 9, 2017
Jun 9, 2017

Purpose

This tutorial starts with a simple Node.js application (HTTP Rest API built with Sails.js) and details the steps needed to Dockerize it and ensure its scalability.

The application stores data in a MongoDB database. This tutorial does not address the scaling of the MongoDB part.

Note: Do not hesitate to provide any comments / feedback you may have, that will help make this tutorial better.

Pre-requisites

Some of the Docker basics will be reviewed but it is recommended to follow Docker for beginners prior to follow this tutorial in order to get a clear understanding of what is inside Docker and how to use it.

Let's start

Setup our sample node application

Create the application's image

Publish image on Docker Store

Single Docker host networking

Multiple Docker hosts networking

Deploy on a Docker Swarm

Summary

We've covered several important aspects of Docker and hopefully this helped to have a better understanding of the platform.

What we've done so far

Once again, feedback / comments are more than welcome :)