docker / docker/docker-install
Support for AlmaLinux and Rocky Linux in get.docker.com install script
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 3.2k
- Forks
- 863
- Avg merge
- 3h 15m
- Merged PRs (30d)
- 2
Description
Support for AlmaLinux and Rocky Linux in get.docker.com install script
Description
The current installation script available at https://get.docker.com works well for major distributions like Ubuntu, Debian, and CentOS/RHEL.
However, it fails to recognize or properly support AlmaLinux and Rocky Linux, which are both RHEL-compatible distributions widely adopted as CentOS/RHEL successors.
Expected Behavior
The script should detect and install Docker correctly on AlmaLinux and Rocky Linux, just as it does for CentOS/RHEL.
Actual Behavior
When running the script on AlmaLinux or Rocky Linux, it does not recognize the OS or exits with a message indicating that the distribution is unsupported.
Steps to Reproduce
- Run the following command on a fresh AlmaLinux or Rocky Linux installation:
curl -fsSL https://get.docker.com | sh - Observe that the installer fails due to unrecognized OS ID.
Suggested Improvement
Add official detection and support in the script for:
AlmaLinuxRocky Linux
Both distributions are binary-compatible with RHEL and share similar package management tools (dnf/yum), so adapting the existing CentOS/RHEL logic should be straightforward.
Environment
- OS: AlmaLinux / Rocky Linux (8.x / 9.x / 10.x)
- Script: Latest from https://get.docker.com
Additional Context
AlmaLinux and Rocky Linux are now widely used in enterprise and community environments as CentOS replacements.
Adding support would improve usability and align with Docker’s support for RHEL-based systems.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the get.docker.com installation script and inspect how it detects and handles CentOS/RHEL. Adapt that existing path for AlmaLinux and Rocky Linux, then verify that the script recognizes both distributions and completes installation using their dnf/yum-compatible tooling. Done means neither distribution is rejected as unsupported.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, shell
- Domain
- devops, operating-systems
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100