sous-chefs / docker

Development repository for the docker cookbook
https://supermarket.chef.io/cookbooks/docker
Apache License 2.0
1.35k stars 794 forks source link

Switch rhel platform to rhel docker-ce yum repo #1276

Open b-dean opened 1 week ago

b-dean commented 1 week ago

:speaking_head: Foreword

CentOS 7 and 8 are dead, but Red Hat 8 is still alive and RHEL 7 has extended lifecycle support through 2028-06-30. It would be great if the docker cookbook used the rhel yum repos for rhel platforms

:frowning_person: Problem Statement

We use the docker cookbook on RHEL 8 (and a few RHEL 7) and I'm not sure if there will be new packages of docker-ce for centos. Certainly not centos 7 or 8, which are dead.

:grey_question: Possible Solution

switch the yum repos for rhel platform to use https://download.docker.com/linux/rhel/ instead of the centos repo for rhel 8+

:arrow_heading_up: Describe alternatives you've considered

The centos repos still work for now, but I suspect it's a matter of time until docker no longer builds packages for centos 7 and 8. Already rhel 8 has packages for docker-ce 27, whereas centos 8 stops at docker-ce 26.1.3

:heavy_plus_sign: Additional context