---
title: "Discussion on \"What are CMD and ENTRYPOINT in Docker?\" | Hashnode"
description: "Discussion on \"What are CMD and ENTRYPOINT in Docker?\". A simple but tricky concept! - Let's discover what is the basic difference between these two terms which we use many times while writing Dockerfiles."
url: "https://hashnode.com/posts/cmd-and-entrypoint-in-docker/61f6999f6bb59d5767db83d4"
---

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

Discussion

# [What are CMD and ENTRYPOINT in Docker?](https://blogs.kratik.dev/cmd-and-entrypoint-in-docker?utm_source=hashnode&utm_medium=feed)

A simple but tricky concept! - Let's discover what is the basic difference between these two terms which we use many times while writing Dockerfiles.

Jan 30, 2022 · 4 min read · blogs.kratik.dev  
Read the article

-   [#docker](https://hashnode.com/tag/docker)
-   [#devops](https://hashnode.com/tag/devops)
-   [#tutorial](https://hashnode.com/tag/tutorial)
-   [#docker-images](https://hashnode.com/tag/docker-images)
-   [#kubernetes](https://hashnode.com/tag/kubernetes)

## Written by

[Kratik Jain](https://hashnode.com/@k4kratik)

@k4kratik · India

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

Infrastructure Engineer

Hey, Y'all 👋 Kratik Here :) Hailing from The City of Lakes, India. I love to learn and share stuff about DevOps, SRE, Security, Cost Optimization, etc. Join me on this journey where we will learn together with the help bunch of interesting blogs.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
