Support for AlmaLinux and Rocky Linux in get.docker.com install script
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 55/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- docker, shell
- Domain
- devops, operating-systems
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.
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.
- Dominant language
- Shell
- Stars
- 3.2k
- Forks
- 863
- Avg merge
- 3h 15m
- Merged PRs (30d)
- 2
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.
More from docker/docker-install
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
docker/docker-install#575 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
docker/docker-install#559 · 4 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
docker/docker-install#554 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 48/100
docker/docker-install#548 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
docker/docker-install#540 ·
All issues in docker/docker-install
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
astral-sh/python-build-standalone#1293 ·
-
package-update
Difficulty 1/5 Under an hour Newbie friendliness 90/100
oSoWoSo/vOid_Community_repOsitory#185 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
carbon-language/carbon-lang#7821 ·