Add README.md

This commit is contained in:
2026-04-05 22:03:29 +00:00
parent 0629c0f180
commit b76eabe98f

49
README.md Normal file
View File

@@ -0,0 +1,49 @@
Sure — heres a quick README section you can paste:
## Install Docker + Docker Compose
This script auto-detects the OS and installs:
- Docker Engine
- Docker CLI
- containerd
- Docker Buildx plugin
- Docker Compose plugin
### Supported OS families
- Ubuntu / Debian
- AlmaLinux / RHEL / Rocky / CentOS / Fedora
### Run
```bash
chmod +x install_docker_compose.sh
sudo ./install_docker_compose.sh
```
### What it does
- Detects the Linux distribution from `/etc/os-release`
- Adds Dockers official package repository
- Installs the latest Docker packages
- Starts and enables the Docker service
- Verifies the install with:
- `docker --version`
- `docker compose version`
### Notes
- Must be run as `root` or with `sudo`
- On Debian/Ubuntu, it installs from Dockers official APT repo
- On Alma/RHEL-family systems, it installs from Dockers official DNF repo
### Verify manually
```bash
docker --version
docker compose version
sudo systemctl status docker
```
If you want, I can also turn that into a cleaner full `README.md` with a title, usage, supported platforms, and troubleshooting.