---
title: "Discussion on \"Docker concepts explained using a Cake preparation method & building a Nodejs application with Docker and Nginx.\" | Hashnode"
description: "Discussion on \"Docker concepts explained using a Cake preparation method & building a Nodejs application with Docker and Nginx.\". Introduction\n\nThis article focuses on explaining the concept of Docker in a simple and detailed manner. Docker is a \nvery useful tool and a proper understanding of what Docker is and what it is used for is very essential to a Software Developer and D..."
url: "https://hashnode.com/posts/docker-concepts-explained-using-a-cake-preparation-method-and-building-a-nodejs-application-with-docker-and-nginx/6040d8fffb37920a1fc667f2"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Docker concepts explained using a Cake preparation method & building a Nodejs application with Docker and Nginx.](https://debbie.hashnode.dev/docker-concepts-explained-using-a-cake-preparation-method-and-building-a-nodejs-application-with-docker-and-nginx?utm_source=hashnode&utm_medium=feed)

Introduction This article focuses on explaining the concept of Docker in a simple and detailed manner. Docker is a very useful tool and a proper understanding of what Docker is and what it is used for is very essential to a Software Developer and D...

Mar 4, 2021 · 28 min read · debbie.hashnode.dev  
Read the article

-   [#docker](https://hashnode.com/tag/docker)
-   [#devops](https://hashnode.com/tag/devops)
-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#nginx](https://hashnode.com/tag/nginx)

## Written by

[Deborah Emeni](https://hashnode.com/@DeborahEmeni)

@DeborahEmeni · Rivers, Nigeria

  
[View profile](https://hashnode.com/@DeborahEmeni)

Software Developer

I'm Deborah Emeni, a Software Developer, technical writer and founder of the DevOps Learning Space (DLS) community. I'm passionate about DevRel and Tech communities, I enjoy speaking at conferences and tech events. I love sharing knowledge and simplifying complex topics by writing articles. So check out my blog! 😊

## Responses 8

Markdown supported · ⌘↵ to post

[Archana Singh](https://hashnode.com/@archana09)

[May 16, 2023](https://hashnode.com/posts/docker-concepts-explained-using-a-cake-preparation-method-and-building-a-nodejs-application-with-docker-and-nginx/6040d8fffb37920a1fc667f2/comment/64639ae36e1565b8d2d48f4a)

I don't think there's any better explanation of docker than this.Great reading!! Thanks Deborah for sharing your knowledge ❤️

[Archana Singh](https://hashnode.com/@archana09)

[May 16, 2023](https://hashnode.com/posts/docker-concepts-explained-using-a-cake-preparation-method-and-building-a-nodejs-application-with-docker-and-nginx/6040d8fffb37920a1fc667f2/comment/64639a596e1565b8d2d48f2b)

I don't think there is any better explanation of docker than this.Great reading. Thanks Debbie for sharing your knowledge ❤️

[James Ajayi](https://hashnode.com/@jamesajayi)

[May 13, 2023](https://hashnode.com/posts/docker-concepts-explained-using-a-cake-preparation-method-and-building-a-nodejs-application-with-docker-and-nginx/6040d8fffb37920a1fc667f2/comment/646005404824b288fcf127ab)

The cake analogy used was classic. Had a nice time reading.

Welldone Deborah.

[Johnson awah Alfred](https://hashnode.com/@codemon)

[Mar 6, 2021](https://hashnode.com/posts/docker-concepts-explained-using-a-cake-preparation-method-and-building-a-nodejs-application-with-docker-and-nginx/6040d8fffb37920a1fc667f2/comment/6043cee78458d42fc821b57d)

Nice article, very much detailed... I have a question though.. the docker images uploaded to docker hub, do they contain your source code ???

[NICOLE ADEYEMI](https://hashnode.com/@Adenicole)

[Mar 5, 2021](https://hashnode.com/posts/docker-concepts-explained-using-a-cake-preparation-method-and-building-a-nodejs-application-with-docker-and-nginx/6040d8fffb37920a1fc667f2/comment/60422461a91d43293a2d5595)

I enjoyed reading your article! The analogy was well put together! Great work!

[Deborah Emeni](https://hashnode.com/@DeborahEmeni)

[Mar 5, 2021](https://hashnode.com/posts/docker-concepts-explained-using-a-cake-preparation-method-and-building-a-nodejs-application-with-docker-and-nginx/6040d8fffb37920a1fc667f2/comment/60422461a91d43293a2d5595#reply-60424d6991eeac2b7aee8001)

Thank you so much and I'm glad you enjoyed reading!

[clara rho](https://hashnode.com/@clararho)

[Mar 5, 2021](https://hashnode.com/posts/docker-concepts-explained-using-a-cake-preparation-method-and-building-a-nodejs-application-with-docker-and-nginx/6040d8fffb37920a1fc667f2/comment/6041e970d2f58f2915966890)

Great

[Deborah Emeni](https://hashnode.com/@DeborahEmeni)

[Mar 5, 2021](https://hashnode.com/posts/docker-concepts-explained-using-a-cake-preparation-method-and-building-a-nodejs-application-with-docker-and-nginx/6040d8fffb37920a1fc667f2/comment/6041e970d2f58f2915966890#reply-60421c1fd2f58f2915966d4f)

Thank you Clara😃

[Catalin Pit](https://hashnode.com/@Catalinpit)

[Mar 5, 2021](https://hashnode.com/posts/docker-concepts-explained-using-a-cake-preparation-method-and-building-a-nodejs-application-with-docker-and-nginx/6040d8fffb37920a1fc667f2/comment/6041cf77d2f58f2915966424)

Great analogy, and great article! 👏

[Deborah Emeni](https://hashnode.com/@DeborahEmeni)

[Mar 5, 2021](https://hashnode.com/posts/docker-concepts-explained-using-a-cake-preparation-method-and-building-a-nodejs-application-with-docker-and-nginx/6040d8fffb37920a1fc667f2/comment/6041cf77d2f58f2915966424#reply-60421bcea91d43293a2d54b8)

Thank you so much!

[Ajayi Sijibomi](https://hashnode.com/@Sijibomi)

[Mar 4, 2021](https://hashnode.com/posts/docker-concepts-explained-using-a-cake-preparation-method-and-building-a-nodejs-application-with-docker-and-nginx/6040d8fffb37920a1fc667f2/comment/6041629ac91e1925cfe1e9d7)

Why exactly did you add Nginx? The app was rendering already without is so what do you need it for? I can't see the connection between the nginx and the nodejs app

[Deborah Emeni](https://hashnode.com/@DeborahEmeni)

[Mar 5, 2021](https://hashnode.com/posts/docker-concepts-explained-using-a-cake-preparation-method-and-building-a-nodejs-application-with-docker-and-nginx/6040d8fffb37920a1fc667f2/comment/6041629ac91e1925cfe1e9d7#reply-60421c08a91d43293a2d54c1)

Hello Ajayi😊 Thanks for reading.

One of the subtitles in my article covered your question. Here "How to expose your Docker ports to make your Docker Containers externally accessible"

[Johnson awah Alfred](https://hashnode.com/@codemon)

[Mar 6, 2021](https://hashnode.com/posts/docker-concepts-explained-using-a-cake-preparation-method-and-building-a-nodejs-application-with-docker-and-nginx/6040d8fffb37920a1fc667f2/comment/6041629ac91e1925cfe1e9d7#reply-6043d08f5a56f82fa3ecc198)

Externally accessible, you mean???? Over the internet?? Because I'm still seeing localhost [Deborah Emeni](https://hashnode.com/@Debbie)
