# Docker Installation Script This script installs Docker and Docker Compose on a Debian/Ubuntu-based system. ## What this script does The script performs the following steps: 1. Updates and upgrades the system packages 2. Installs required dependencies 3. Adds Docker’s official GPG key 4. Adds the Docker repository 5. Installs Docker Engine (docker-ce, cli, containerd) 6. Starts and enables the Docker service 7. Installs the latest version of Docker Compose 8. Makes Docker Compose executable 9. Adds the current user to the `docker` group --- ## Requirements - Debian or Ubuntu-based system - `sudo` privileges - Internet connection - `jq` (used to fetch latest Docker Compose version) If `jq` is not installed, install it first: ```bash sudo apt install -y jq