# Docker Hub Basics — Docker Fundamentals: Images, Containers and Compose

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

> Use Docker Hub as the default public registry for official images, and log in to push your own.

## 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
```
