Install Docker on Ubuntu
This chapter covers how to install and configure Docker Engine on Ubuntu.
System Requirements
Docker Engine supports the following Ubuntu versions (64-bit):
- Ubuntu 24.04 (Noble)
- Ubuntu 22.04 (Jammy)
- Ubuntu 20.04 (Focal)
Hardware requirements: 64-bit processor, kernel 3.10+, at least 2GB RAM (4GB+ recommended).
Uninstall Old Versions
Method 1: Install Using APT Repository (Recommended)
1. Update and Install Dependencies
2. Add Docker's Official GPG Key
3. Add Docker APT Repository
4. Install Docker Engine
5. Verify Installation
Method 2: Convenience Script
⚠️ The convenience script is not recommended for production environments.