---
title: "Comment by Mohamed Eraki on \"Docker Commands Master Cheat Sheet\" | Hashnode"
description: "Dockerfile --build--&gt; Image --run--&gt; Container ^ | | +-- uses --&gt; Volumes (persistent data) push / pull +-- uses --&gt; Networks (communication) | Regi"
url: "https://hashnode.com/posts/docker-commands-master-cheat-sheet-6engq/6b0e6753357e524f56f4a6c5/comment/6b0e7d19d86b6264339d668d"
---

[Discussion](https://hashnode.com/posts/docker-commands-master-cheat-sheet-6engq/6b0e6753357e524f56f4a6c5)

Comment [Docker Commands Master Cheat Sheet](https://hashnode.com/posts/docker-commands-master-cheat-sheet-6engq/6b0e6753357e524f56f4a6c5)

[Mohamed Eraki](https://hashnode.com/@mohamed-eleraky)

[3d ago](https://hashnode.com/posts/docker-commands-master-cheat-sheet-6engq/6b0e6753357e524f56f4a6c5/comment/6b0e7d19d86b6264339d668d)

```text
Dockerfile  --build-->  Image  --run-->  Container
                          ^                  |
                          |                  +-- uses --> Volumes (persistent data)
                  push / pull                +-- uses --> Networks (communication)
                          |
                      Registry (Docker Hub, GHCR, ECR)
```

Good job, I like that way of explanation.

[ZyVOP](https://hashnode.com/@zyvop)

[3d ago](https://hashnode.com/posts/docker-commands-master-cheat-sheet-6engq/6b0e6753357e524f56f4a6c5/comment/6b0e7d19d86b6264339d668d#reply-6b0e9641871807cbcb7490aa)

Thanks! I wanted to make the relationship between images, containers, volumes and networks easy to understand at a glance. Glad it helped!
