# How to Push Docker Image to Docker Hub 🐳📦 (Beginner Guide)

## Introduction

Docker Hub is like **GitHub for Docker images**.

In this blog, we’ll learn:

* What Docker Hub is
    
* How to push your Docker image
    
* How to pull it anywhere
    

---

## 🐳 What is Docker Hub?

Docker Hub is a public registry where you can:

* Store Docker images
    
* Share images with others
    
* Deploy images on servers
    

---

## 🔐 Step 1: Login to Docker Hub

```plaintext
docker login
```

---

## 🏷️ Step 2: Tag Your Image

```plaintext
docker tag myapp username/myapp:latest
```

---

## ⬆️ Step 3: Push Image

```plaintext
docker push username/myapp:latest
```

---

## ⬇️ Step 4: Pull Image Anywhere

```plaintext
docker pull username/myapp:latest
```

---

## 🧠 Key Takeaways

* Docker Hub stores images
    
* Tagging is required before pushing
    
* Makes deployment easy
    

---

## 🎯 Conclusion

Pushing images to Docker Hub allows you to deploy apps **anywhere in seconds**.
