|  | 
| 1 |  | -## **Docker Chapters** | 
|  | 1 | +# **✨ Docker Tutorial Chapters** | 
| 2 | 2 | > Small Tips: Starting with `⚡` means that it is a command that you can run in your terminal.  | 
|  | 3 | +- [**💖 Introduction**](#-introduction) | 
| 3 | 4 | - [**Why should I use Docker 🐳 ?**](#why-should-i-use-docker--) | 
| 4 | 5 | - [**Then what is Docker? 🐳**](#then-what-is-docker-) | 
| 5 | 6 |   - [**So we use docker for :**](#so-we-use-docker-for--) | 
|  | 
| 39 | 40 |       -  [`⚡ Creating a volume in docker-compose file`](#-creating-a-volume-in-docker-compose-file) | 
| 40 | 41 |       -  [`⚡ Stop running all containers`](#-stop-running-all-containers)  | 
| 41 | 42 | - [**Our First Project with Docker 🚀**](#our-first-project-with-docker-) | 
| 42 |  | -     -  [`⚡ Python Flask App`](#-python-flask-app) | 
| 43 |  | -     -  [`⚡ Build the docker image`](#-build-the-docker-image) | 
| 44 |  | -     -  [`⚡ Run the docker image`](#-run-the-docker-image) | 
| 45 |  | -     -  [`⚡ Stop the docker container`](#-stop-the-docker-container)  | 
| 46 |  | -     -  [`⚡ Mapping the port`](#-mapping-the-port) | 
| 47 |  | -     -  [`⚡ Push the docker image to the docker hub`](#-push-the-docker-image-to-the-docker-hub) | 
| 48 |  | - | 
| 49 |  | - | 
|  | 43 | +   -  [`⚡ Python Flask App`](#-python-flask-app) | 
|  | 44 | +   -  [`⚡ Build the docker image`](#-build-the-docker-image) | 
|  | 45 | +   -  [`⚡ Run the docker image`](#-run-the-docker-image) | 
|  | 46 | +   -  [`⚡ Stop the docker container`](#-stop-the-docker-container)  | 
|  | 47 | +   -  [`⚡ Mapping the port`](#-mapping-the-port) | 
|  | 48 | +   -  [`⚡ Push the docker image to the docker hub`](#-push-the-docker-image-to-the-docker-hub) | 
|  | 49 | +- [**Our Second Project with Docker 🚀**](#our-second-project-with-docker-) | 
|  | 50 | +  - [`⚡ NodeJs Setup`](#-nodejs-setup) | 
|  | 51 | +  - [`⚡ Login to the docker hub`](#-login-to-the-docker-hub) | 
|  | 52 | +  - [`⚡ Check the container id`](#-check-the-container-id) | 
|  | 53 | +  - [`⚡ Stop the container`](#-stop-the-container) | 
|  | 54 | +  - [`⚡ Kill the container`](#-kill-the-container) | 
|  | 55 | +  - [`⚡ Remove the container`](#-remove-the-container) | 
|  | 56 | +  - [`⚡ Remove the image`](#-remove-the-image) | 
|  | 57 | +  - [`⚡ Pull the docker image`](#-pull-the-docker-image) | 
|  | 58 | +- [**🥰 What did we understand from these two projects?**](#-what-did-we-understand-from-these-two-projects) | 
|  | 59 | +- [**✨ Docker Best CLI Cheat Sheet**](#-docker-cli-cheat-sheet) | 
|  | 60 | +- [**📌 Conclusion**](#-conclusion) | 
|  | 61 | + | 
|  | 62 | +### 📑 Another Platform For Better Reading Experience  | 
|  | 63 | + | 
|  | 64 | +- [**CodeXam**](https://codexam.vercel.app/docs/docker) - Best ✨ | 
|  | 65 | +- [**GitHub**](https://github.com/Subham-Maity/docker_tutorial) - Good ✨ | 
|  | 66 | + | 
|  | 67 | +___________ | 
|  | 68 | +# 💖 Introduction | 
|  | 69 | + | 
|  | 70 | +This tutorial is designed for complete beginners to advanced users who want to learn Docker from scratch. It covers everything you need to know about Docker, from installation and configuration to creating and running containers, `images`, and `volumes`. It also explains the concepts and benefits of Docker, such as `port mapping`, `networking`, `security`, and `compose`. By the end of this tutorial, you will have no doubts about how to use Docker effectively and efficiently. | 
|  | 71 | + | 
|  | 72 | +This tutorial is also full of practical examples and projects that will help you apply what you learn and gain hands-on experience with Docker. You will learn how to create a Python Flask app, a Node.js app, a Postgresql database, and a Mongo Express web interface using Docker. You will also learn how to build, run, stop, delete, and push your Docker images and containers. | 
|  | 73 | + | 
|  | 74 | +I have created this tutorial with the aim of helping you learn Docker in a fun and easy way. If you appreciate his effort and find this tutorial useful, please give it a star (⭐) on GitHub and share it with your friends. | 
|  | 75 | + | 
|  | 76 | +So what are you waiting for? Let's dive into the world of Docker and see what it can do for you! | 
|  | 77 | + | 
|  | 78 | +____________ | 
| 50 | 79 | # Why should I use Docker 🐳 ? | 
| 51 | 80 | 
 | 
| 52 | 81 | Have you ever faced this problem? 😱 | 
| @@ -793,7 +822,7 @@ docker push subham4041/first-flask-app:0.0.1.RELEASE | 
| 793 | 822 | 
 | 
| 794 | 823 | ## Our Second Project with Docker 🚀 | 
| 795 | 824 | Our second project is a simple nodejs app that returns a json object. | 
| 796 |  | - | 
|  | 825 | +#### ⚡ Nodejs Setup | 
| 797 | 826 | > Install nodejs in your system you can download it from [here](https://nodejs.org/en/download/). | 
| 798 | 827 | 
 | 
| 799 | 828 | If you don't have any idea about nodejs don't worry this is a simple demo app so there is no need to understand the code in detail. We will completely focus on how docker works. If you know nodejs then you can easily understand the code also. | 
| @@ -1090,3 +1119,10 @@ If someone pulls the docker image from the docker hub, then they don't need to i | 
| 1090 | 1119 | | Showing the history of an image | This command shows the history of an image, including the layers and commands that were used to create it. You can use this to inspect how an image was built or to optimize it. | `docker history [options] image` | | 
| 1091 | 1120 | 
 | 
| 1092 | 1121 | 
 | 
|  | 1122 | +## 📌 Conclusion | 
|  | 1123 | + | 
|  | 1124 | +Congratulations! You have completed this tutorial on Docker and learned how to use it for various purposes. You have also created some amazing projects using Docker that showcase your skills and creativity. You should be proud of yourself! | 
|  | 1125 | + | 
|  | 1126 | +Now you can experiment with whatever you want with Docker and explore its endless possibilities. You can also improve this tutorial with a pull request or add more content if you have any suggestions or ideas. Your feedback is always welcome and appreciated. | 
|  | 1127 | + | 
|  | 1128 | +Thank you for reading this tutorial and following along. I hope you enjoyed it and learned something new. Happy Docking! 😊 | 
0 commit comments