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.
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.