Skip to content
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

Support centos 8   #873

Closed
1 of 3 tasks
Songxwn opened this issue Dec 12, 2019 · 25 comments
Closed
1 of 3 tasks

Support centos 8   #873

Songxwn opened this issue Dec 12, 2019 · 25 comments

Comments

@Songxwn
Copy link

Songxwn commented Dec 12, 2019

  • This is a bug report
  • This is a feature request
  • I searched existing issues before opening this one

Expected behavior

Actual behavior

Steps to reproduce the behavior

Output of docker version:

(paste your output here)

Output of docker info:

(paste your output here)

Additional environment details (AWS, VirtualBox, physical, etc.)

@DenisNovac
Copy link

DenisNovac commented Jan 15, 2020

I wonder if we can subscribe to this issue to track the release

@Songxwn
Copy link
Author

Songxwn commented Jan 15, 2020

YES

@tomsnuvv
Copy link

tomsnuvv commented Mar 30, 2020

You can install the containerd-io package manually on CentOS 8 using dnf install https://download.docker.com/linux/centos/7/x86_64/stable/Packages/containerd.io-1.2.6-3.3.el7.x86_64.rpm. Afterwards you can install docker-ce and docker-ce-cli.

EDIT: Using the --nobest option while installing docker-ce will actually do this: dnf install docker-ce --nobest

@KantarBruceAdams
Copy link

The solution of downloading containerd.io from CentOS 7 first works but one why is the download from centos/7 rather than centos/8? Won't this invite issues down the line?

@rajeebs
Copy link

rajeebs commented May 7, 2020

You can install the containerd-io package manually on CentOS 8 using dnf install https://download.docker.com/linux/centos/7/x86_64/stable/Packages/containerd.io-1.2.6-3.3.el7.x86_64.rpm. Afterwards you can install docker-ce and docker-ce-cli.

thanks tomsnuvv

@Slm0n87
Copy link

Slm0n87 commented May 12, 2020

Upstream issue: docker/docs#9896

Be aware that with the mentioned workaround the containerd.io rpm did not get any updates via yum/dnf, which is a security issue.

@jamshid
Copy link

jamshid commented Jun 26, 2020

I know there is bad blood between Docker and RedHat, curious what the problem here is. Are one or both of them being petty in not allowing docker-ce to work on centos 8? I agree with this tweet from Feb:
https://twitter.com/andygocke/status/1224229339786383360

@cpuguy83
Copy link
Collaborator

@jamshid I am ex-Docker (for about 2 years now), but I can say the release process for Docker CE is quite cumbersome and traditionally new distros are only added for major releases (e.g. 18.09 -> 19.03).
I know this process is being worked on, but I can't really speak to it since I'm not part of that work.

The lack of centos8 packages has nothing to do with "bad blood".
As I understand it, there are some changes on moby/moby that have not been backported to the 19.03 branch... I don't know what these changes are, but it sounded like those changes are too risky for 19.03, and as such there would likely not be any packages until Docker 20.x is released.

Maybe @thaJeztah has some idea about what these changes are?

@jamshid
Copy link

jamshid commented Jun 27, 2020

Thanks and sorry to assume it’s something more than that.

@jamshid
Copy link

jamshid commented Jul 9, 2020

Curious, how does the paid-support docker-EE https://success.docker.com/article/compatibility-matrix support the latest docker 19.03? Exactly what versions get installed? Does it use a specific containerd version mentioned in the workaround in this issue #873 (comment)?

@sudo-bmitch
Copy link

@jamshid you need to talk to Mirantis about that. Docker no longer manages the EE product.

@jamshid
Copy link

jamshid commented Aug 2, 2020

@tomsnuvv was installing that specific version of containerd all you needed to do to make docker-ce 19.03 work on centos 8? It seems you also need to disable firewalld or configure it as mentioned in:
https://serverfault.com/questions/987686/no-network-connectivity-to-from-docker-ce-container-on-centos-8/994704#994704

@mattvw
Copy link

mattvw commented Aug 19, 2020

What's the latest on getting CentOS 8 RPM support for Docker CE?

CentOS 8 has been stable since September 2019. We're already in 8.3 beta (for RHEL) and we'd really like to start installing Docker CE on CentOS 8 using the official RPMs ASAP (with no special/unsupported changes needed). I greatly appreciate all the work that the Docker maintainers do, but frankly it has been very disconcerting how long we've been waiting for CentOS 8 Docker CE support.

I had been under the impression that new OS support for Docker CE is supposed to be added only in major releases, so we were just waiting on the next major release for CentOS 8 support. However, from the documentation (https://docs.docker.com/engine/install/ubuntu/#prerequisites) and from #940 (comment), support for Ubuntu 20.04 was added without waiting for a major release.

It seems like the support is all there in the docker-ce-packaging repo (https://github.com/docker/docker-ce-packaging). (I even pointed out some issues that got fixed back in March per docker/docker-ce-packaging@a03dda0).

So what's blocking this support? Any ETA?

We also need containerd CentOS 8 RPM support too.

@thaJeztah @StefanScherer

@ruben-herold
Copy link

Any news on this? Still waiting for centos 8 rpm's

@AkihiroSuda
Copy link

Available now https://download.docker.com/linux/centos/8/x86_64/stable/Packages/

@ruben-herold
Copy link

Great but the repo files need a fix they hard point 7

@thaJeztah
Copy link
Member

@ruben-herold yes, somehow the deploy pipeline skipped updating those to their latest version (which uses $releasever); we're looking into that.

@jamshid
Copy link

jamshid commented Sep 18, 2020

@AkihiroSuda thanks but it still doesn't work with firewalld enabled. Containers I start are unable to reach internet.
If I systemctl disable firewalld and reboot then my containers can reach the internet.
Is this expected behavior?
Sorry I don't know a lot about firewalld, I've just been told it it works with podman and needs to remain enabled.

@thaJeztah
Copy link
Member

w.r.t. firewalld; the current patch release requires updating settings manually; a future version of docker will perform those steps automatically. Typing on my phone right now, but I wrote a longer comment on the issue for Fedora 32 here; #955 (comment)

@tiborvass
Copy link
Contributor

@Songxwn @ruben-herold Should be fixed now. Can you confirm?

@ruben-herold
Copy link

@tiborvass looks good for me

@thaJeztah
Copy link
Member

Let me close this ticket; still some documentation to update (see #873 (comment)), but we can handle that separately. Thanks all!

@jamshid
Copy link

jamshid commented Oct 13, 2020

Thanks I see the instructions with manual steps for install on centos 8 in issue 873 but since this is resolved just curious when centos 8 will be officially supported, hopefully without as many manual workarounds for firewalld.

@johnthagen
Copy link

Unfortunately it looks like Red Hat cancelled the CentOS Linux project: https://blog.centos.org/2020/12/future-is-centos-stream/

CentOS 8 support ends in 2021. 😞

@johnthagen
Copy link

Probably the best course of action now would be for Docker to provide offline RPMs for Rocky Linux 8, the community successor to CentOS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests