# Docker

## Purpose

Maintain consistent environments.

---

# Requirements

Containers should:

- Have clear names.
- Use health checks.
- Log correctly.

---

# Images

Prefer:

- Official images.
- Pinned versions.

---

# Volumes

Important data must use persistent storage.

---

# Production

Monitor:

- Container health.
- Memory usage.
- Disk usage.
- Restarts.

---

# Common Issues

Investigate:

- Container crashes.
- Storage exhaustion.
- Network issues.