Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Support for AlmaLinux and Rocky Linux in get.docker.com install script

オープン
#533 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
55/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
docker, shell

調査の方向性

get.docker.com のインストールスクリプトから始め、CentOS/RHEL をどのように検出して処理しているかを確認します。その既存の処理経路を AlmaLinux と Rocky Linux に対応させ、スクリプトが両方のディストリビューションを認識し、それぞれの dnf/yum 互換ツールを使用してインストールを完了できることを検証します。両方のディストリビューションが未サポートとして拒否されなければ完了です。

索引モデルが issue の本文から書いたものです。

説明

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

  1. Run the following command on a fresh AlmaLinux or Rocky Linux installation:
    curl -fsSL https://get.docker.com | sh
    
  2. Observe that the installer fails due to unrecognized OS ID.

Suggested Improvement

Add official detection and support in the script for:

  • AlmaLinux
  • Rocky 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

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.

主要言語
Shell
スター
3.2k
フォーク
864
PR マージ指標
30日以内にマージされた PR はありません

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

docker/docker-install のほかの issue

docker/docker-install の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。