---
title: "Discussion on \"How to containerize a NestJs app with Docker\" | Hashnode"
description: "Discussion on \"How to containerize a NestJs app with Docker\". In this article, we would be containerizing a nestjs application that uses a Postgresql database with docker. Containerization has become crucial in ensuring apps the apps we build run anywhere without having to worry about platform compatibility. Th..."
url: "https://hashnode.com/posts/how-to-containerize-a-nestjs-app-with-docker/63fdfd99c518513d9404af58"
---

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

Discussion

# [How to containerize a NestJs app with Docker](https://tsegsxaviers.hashnode.dev/how-to-containerize-a-nestjs-app-with-docker?utm_source=hashnode&utm_medium=feed)

In this article, we would be containerizing a nestjs application that uses a Postgresql database with docker. Containerization has become crucial in ensuring apps the apps we build run anywhere without having to worry about platform compatibility. Th...

Feb 28, 2023 · 8 min read · tsegsxaviers.hashnode.dev  
Read the article

-   [#docker](https://hashnode.com/tag/docker)
-   [#nestjs](https://hashnode.com/tag/nestjs)
-   [#containerization](https://hashnode.com/tag/containerization)
-   [#typescript](https://hashnode.com/tag/typescript)

## Written by

[Joseph Tsegen](https://hashnode.com/@xavier577)

@xavier577 · Lagos, Nigeria

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

I read, I code, I blog

Tech enthusiast | Full Stack Developer | Software Engineer. Learning about web development and general programming. Looking to learning new things and meeting new people.

## Responses 2

Markdown supported · ⌘↵ to post

[Joseph Tsegen](https://hashnode.com/@xavier577)

[Feb 28, 2023](https://hashnode.com/posts/how-to-containerize-a-nestjs-app-with-docker/63fdfd99c518513d9404af58/comment/63fe0b20f3c0552d3c691709)

Yh, I learnt about that from ben awad about 1 year ago

[Ayomide Ayanwola](https://hashnode.com/@netrobe)

[Feb 28, 2023](https://hashnode.com/posts/how-to-containerize-a-nestjs-app-with-docker/63fdfd99c518513d9404af58/comment/63fe01bf14fb322d0b6d88a8)

I love the reading. Also learned something new about the db connection retries, did not think about that before.
