[CentOS-devel] First round of RHEL programs announced

Marcin Juszkiewicz

marcin.juszkiewicz at linaro.org
Wed Feb 3 10:28:19 UTC 2021


W dniu 01.02.2021 o 16:55, Marcin Juszkiewicz pisze:
> W dniu 22.01.2021 o 19:59, Josh Boyer pisze:
>> On Fri, Jan 22, 2021 at 1:54 PM redbaronbrowser via CentOS-devel
> 
>>> They are also setting a termination date for the official centos8
>>> docker hub image with no replacement being provided by RHEL.
>>
>> The official RHEL UBI images can be found in the Red Hat Container 
>> Catalog and do not require registration or entitlement to pull or
>> use, and are expressly created to allow full redistribution.
> 
> I am one of developer in OpenStack Kolla where we use(d) centos:8 as a 
> base for our OpenStack containers. With no centos:8-stream images it 
> looks like we will need to move to RHEL UBI8 one instead.
> 
> And then remove subscription-manager from it, add all CentOS Stream, 
> CentOS SIGs repos.
> 
> Which probably will not be far from using centos:8 and moving it to use 
> Stream. And this is even easier as image already has needed repositories.

I do wonder which way to go now. Both are similar.

UBI:8 way:

11:21 (0s) hrw at puchatek:~$ docker run --rm -it -u root 
registry.access.redhat.com/ubi8

[root at 1dcf18241722 /]# dnf remove -y subscription-manager

[root at 1dcf18241722 /]# dnf install -y 
http://mirror.centos.org/centos/8-stream/BaseOS/x86_64/os/Packages/centos-gpg-keys-8-2.el8.noarch.rpm

[root at 1dcf18241722 /]# dnf install -y 
http://mirror.centos.org/centos/8-stream/BaseOS/x86_64/os/Packages/centos-stream-repos-8-2.el8.noarch.rpm

[root at 1dcf18241722 /]# dnf distrosync -y
Transaction Summary
================================================================
Install  17 Packages
Upgrade  79 Packages

Total size: 58 M
Total download size: 48 M


CentOS:8 way:

11:25 (0s) hrw at puchatek:~$ docker run --rm -it -u root centos:8

[root at 868f8bd7dd05 /]# dnf install centos-release-stream -y
[root at 868f8bd7dd05 /]# dnf swap centos-{linux,stream}-repos -y
[root at 868f8bd7dd05 /]# dnf distrosync

Transaction Summary
================================================================
Install  29 Packages
Upgrade  85 Packages

Total download size: 73 M


More information about the CentOS-devel mailing list