Files
docker-install/README.md
T
2026-04-05 11:31:39 +00:00

31 lines
776 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 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 Dockers 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