-
Notifications
You must be signed in to change notification settings - Fork 806
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unsupported distribution 'ol ' #179
Comments
Oracle Linux is unsupported on Docker CE, but probably you can use CentOS RPMs: https://download.docker.com/linux/centos/7/x86_64/stable/Packages/ |
Why is it unsupported? probably can use centos rpm's as the system is fully compatible, so what is the problem with CE ? |
Did you solve this? I wanted to update Docker and getting the same error. And I'm running on Oracle too. |
Hi man I looked on the web for some guide and installed it. I am not 100% sure if this was the one but I think so: |
I think we may use the "ID_LIKE" field instead of the "ID" to check if the base OS is supported. So I created a pull request for this change: #231 This pull request is tested on pardus and its working perfectly. Script output before the change:
Some info about Pardus (which is Debian based: https://www.pardus.org.tr/pardus-surum-notlari-19-5)
Script output after the change:
I have installed docker on more than 500 servers running Pardus this way and they are working perfectly for more than 6 months. If you think this change is risky than you may consider adding an option (for example --support-base-os) to use the "ID_LIKE" field so the user may take the risk himself. |
Yes, we don't provide packages for Oracle Linux; as mentioned above, it's possible that packages for other similar distros work, but we don't want to update the script to automatically "guess" something that "could" work, because no testing/verification is done on those distros, and we try to avoid "pretending" that it's supported / tested. Also see https://docs.docker.com/engine/install/#other-linux-distros My general recommendation would be to;
Maybe (to be discussed) we could consider a manual "I know what I'm doing" option that allows overriding these options (e.g. as suggested in #229, or a I'm closing this ticket for now, but feel free to continue the conversation or to open a ticket with a proposal for alternatives. |
Hello everyone
I'm trying to install docker on my Linux 7.8 with the Docker Installation Scripts provided here, i.e.
curl -fsSL https://get.docker.com -o get-docker.sh
sh get-docker.sh
But the command return the error message:
Executing docker install script, commit:442e66405c304fa92af8aadaa1d9b31bf4b0ad94
ERROR: Unsupported distribution 'ol'
The 'ol' mentioned in the error message is as same as the ID value of my OS.
[root@linux7-8instance ~]# cat /etc/release
Oracle Linux Server release 7.8
NAME="Oracle Linux Server"
VERSION="7.8"
ID="ol"
ID_LIKE="fedora"
VARIANT="Server"
VARIANT_ID="server"
VERSION_ID="7.8"
PRETTY_NAME="Oracle Linux Server 7.8"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:oracle:linux:7:8:server"
HOME_URL="https://linux.oracle.com/"
BUG_REPORT_URL="https://bugzilla.oracle.com/"
ORACLE_BUGZILLA_PRODUCT="Oracle Linux 7"
ORACLE_BUGZILLA_PRODUCT_VERSION=7.8
ORACLE_SUPPORT_PRODUCT="Oracle Linux"
ORACLE_SUPPORT_PRODUCT_VERSION=7.8
Red Hat Enterprise Linux Server release 7.8 (Maipo)
Oracle Linux Server release 7.8
cpe:/o:oracle:linux:7:8:server
[root@linux7-8instance ~]#
Could you tell me what's wrong here?
Thank you
The text was updated successfully, but these errors were encountered: