0

我正在尝试在 Red Hat Enterprise Linux Server 版本 7.8 (Maipo) 上安装 Docker。我正在遵循 OKD主机准备说明

当我运行时yum install docker-1.13.1,我得到:

Loaded plugins: amazon-id, search-disabled-repos
rhel-7-server-rhui-rh-common-rpms                                                                                | 2.1 kB  00:00:00
rhel-7-server-rhui-rpms                                                                                          | 2.0 kB  00:00:00
rhui-client-config-server-7                                                                                      | 2.1 kB  00:00:00
(1/6): rhel-7-server-rhui-rh-common-rpms/7Server/x86_64/updateinfo                                               |  35 kB  00:00:00
(2/6): rhel-7-server-rhui-rh-common-rpms/7Server/x86_64/group                                                    |  124 B  00:00:00
(3/6): rhel-7-server-rhui-rh-common-rpms/7Server/x86_64/primary                                                  |  66 kB  00:00:00
(4/6): rhel-7-server-rhui-rpms/7Server/x86_64/group                                                              | 772 kB  00:00:00
(5/6): rhel-7-server-rhui-rpms/7Server/x86_64/updateinfo                                                         | 3.8 MB  00:00:00
(6/6): rhel-7-server-rhui-rpms/7Server/x86_64/primary                                                            |  45 MB  00:00:00
rhel-7-server-rhui-rh-common-rpms                                                                                               243/243
rhel-7-server-rhui-rpms                                                                                                     29237/29237
No package docker-1.13.1 available.
Error: Nothing to do

我怎样才能解决这个问题?

4

1 回答 1

1

为什么您使用 RHEL 进行 OKD?改用 CentOS,您将拥有开箱即用的软件包

否则按照 OCP 指令而不是 OKD,但是您需要订阅 RHEL 和 OCP: https ://docs.openshift.com/container-platform/3.11/install/host_preparation.html

于 2020-07-29T17:24:47.787 回答