---
title: "Discussion on \"CheatSheet  For Docker CLI\" | Hashnode"
description: "Discussion on \"CheatSheet  For Docker CLI\". Run a new Container\n\nStart a new Container from an Image\n\ndocker run IMAGE\ndocker run nginx\n\n\nand assign it a name\n\ndocker run --name CONTAINER IMAGE\ndocker run --name web nginx\n\n\nand map a port\n\ndocker run -p HOSTPORT:CONTAINERPORT IMAGE\ndocker run ..."
url: "https://hashnode.com/posts/cheatsheet-for-docker-cli/64c3bb09ab36f0b29c15e4cb"
---

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

Discussion

# [CheatSheet For Docker CLI](https://shivrajofficial.hashnode.dev/cheatsheet-for-docker-cli?utm_source=hashnode&utm_medium=feed)

Run a new Container Start a new Container from an Image docker run IMAGE docker run nginx and assign it a name docker run --name CONTAINER IMAGE docker run --name web nginx and map a port docker run -p HOSTPORT:CONTAINERPORT IMAGE docker run ...

Jul 28, 2023 · 3 min read · shivrajofficial.hashnode.dev  
Updated Jul 29, 2023  
Read the article

-   [#docker](https://hashnode.com/tag/docker)
-   [#cheatsheet](https://hashnode.com/tag/cheatsheet)
-   [#containers](https://hashnode.com/tag/containers)
-   [#devops](https://hashnode.com/tag/devops)

## Written by

[Shivraj Salunkhe](https://hashnode.com/@Shivraj2609)

@Shivraj2609 · Pune,Maharashtra

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

DYPCOE"24

Dedicated and hardworking undergraduate student pursuing a degree in Information Technology with a passion for learning, leadership experience, and real-world skills through internships and part-time jobs in IT sector. Actively looking for new Opportunities and committed to do personal and professional growth.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
