77f54b0f98 | ||
---|---|---|
.. | ||
images | ||
1_node_application.md | ||
2_application_image.md | ||
3_publish_image.md | ||
4_single_host_networking.md | ||
5_multiple_hosts_networking.md | ||
6_deploy_on_swarm.md | ||
README.md | ||
summary.md |
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
Multiple Docker hosts networking
Summary
We've covered several important aspects of Docker and hopefully this helped to have a better understanding of the platform.
Once again, feedback / comments are more than welcome :)