# Docker Hub Basics — Docker

Source: https://www.geekswithgeeks.com/en/docker/docker-hub-basics

> The default public registry for storing and sharing images.

## What Docker Hub is

**Docker Hub** is the default public registry — where official images like `nginx`, `postgres`, and `node` live, and where you can host your own.

## docker login

Authenticate once per machine before pushing images to your account.

```bash
docker login
# enter Docker Hub username & password/token
```
