Prerequisites
- Hardware Requirements:
- CPU: At least 4 cores.
- RAM: Minimum 8 GB.
- Storage: At least 200 GB of SSD.
- Network: High-speed internet connection with at least 1 Gbps bandwidth.
- Software Requirements:
- Operating System: Ubuntu 20.04 or newer.
- Docker: Installed and running.
- Git: Installed.
- Environment:
- Ensure you have root or sudo privileges on the server.
Step 1: Update and Prepare Your Server
1.1 Update System Packages
sudo apt update && sudo apt upgrade -y
1.2 Install Required Tools
sudo apt install curl wget git build-essential -y
Step 2: Install Docker
2.1 Download and Install Docker
curl -fsSL <https://get.docker.com> -o get-docker.sh
sudo sh get-docker.sh
2.2 Add Current User to Docker Group
sudo usermod -aG docker $USER
Log out and log back in for the changes to take effect.
2.3 Verify Docker Installation
docker --version