---
title: "Discussion on \"Why do you need an init process inside your Docker container (PID 1)\" | Hashnode"
description: "Discussion on \"Why do you need an init process inside your Docker container (PID 1)\". When you run your application inside a Docker container, it will be assigned process identifier (PID) 1. This particular PID is special in the Unix world. PID 1 is assigned to the very first process that the kernel starts, therefore it takes a specia..."
url: "https://hashnode.com/posts/why-do-you-need-an-init-process-inside-your-docker-container-pid-1/6318f2586b34d71380dabcde"
---

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

Discussion

# [Why do you need an init process inside your Docker container (PID 1)](https://daveiscoding.com/why-do-you-need-an-init-process-inside-your-docker-container-pid-1?utm_source=hashnode&utm_medium=feed)

When you run your application inside a Docker container, it will be assigned process identifier (PID) 1. This particular PID is special in the Unix world. PID 1 is assigned to the very first process that the kernel starts, therefore it takes a specia...

Sep 7, 2022 · 7 min read · daveiscoding.com  
Updated May 20, 2023  
Read the article

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

## Written by

[Dávid Szabó](https://hashnode.com/@davidszabo)

@davidszabo · Hungary

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

Lead Software Engineer @ Suxess Logistic

Full stack dev who loves to experiment, learn new things, and write stupid simple code.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
