labs/developer-tools/nodejs/porting
Islam Azab 77f54b0f98
fix mongodb connection
2018-01-02 08:33:11 +01:00
..
images Remove 2 unnecessary images 2017-09-01 23:22:24 +02:00
1_node_application.md fix mongodb connection 2018-01-02 08:33:11 +01:00
2_application_image.md First push to convert all Docker Hub references to Docker Cloud and Docker Store 2017-06-09 15:03:37 -07:00
3_publish_image.md Fixing a typo 2017-12-15 19:23:03 +00:00
4_single_host_networking.md First push to convert all Docker Hub references to Docker Cloud and Docker Store 2017-06-09 15:03:37 -07:00
5_multiple_hosts_networking.md First push to convert all Docker Hub references to Docker Cloud and Docker Store 2017-06-09 15:03:37 -07:00
6_deploy_on_swarm.md First push to convert all Docker Hub references to Docker Cloud and Docker Store 2017-06-09 15:03:37 -07:00
README.md First push to convert all Docker Hub references to Docker Cloud and Docker Store 2017-06-09 15:03:37 -07:00
summary.md First push to convert all Docker Hub references to Docker Cloud and Docker Store 2017-06-09 15:03:37 -07:00

README.md

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 :)