Docker installation script fails on Oracle Linux but works with RHEL commands

Open
#554 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
55/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
docker, shell

Research direction

Start with the Docker installation script's operating-system detection and reproduce the failure on an Oracle Linux VM. Compare its path with the RHEL commands that work manually; done means the script completes successfully on Oracle Linux and Docker is installed.

Written by the indexing model from the issue text.

Description

Description
When running the Docker installation script on Oracle Linux, the script fails or does not complete successfully.
However, if the equivalent installation steps are executed manually using RHEL (Red Hat Enterprise Linux) commands, Docker installs correctly without issues.

Environment

OS: Oracle Linux (specify version)
Also tested on: RHEL / RHEL-compatible systems
Docker: target version from the script

Expected behavior
The installation script should work correctly on Oracle Linux, since it is RHEL-compatible.

Actual behavior

The script fails on Oracle Linux
Running equivalent RHEL commands manually works as expected

Steps to reproduce

Start a VM with Oracle Linux
Run the Docker installation script
Observe that the installation fails or does not complete
Execute the equivalent RHEL installation commands manually
Verify that Docker installs successfully

Workaround
Use the RHEL installation commands directly instead of the automated script.

Additional notes
The issue may be related to how the script detects the operating system (Oracle Linux vs RHEL) or differences in default repositories/configuration.

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from docker/docker-install

All issues in docker/docker-install

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.