1
0
mirror of https://github.com/kata-containers/kata-containers.git synced 2025-05-09 00:47:30 +00:00
kata-containers/docs/install/centos-installation-guide.md
Fabiano Fidêncio 492b4e906b install: Update CentOS information
Let's update the CentOS Installation Guide to reflect the current
information on how to install kata packages provided by the
Virtualiation Special Interest Group.

These are not official CentOS packages, as those are not coming from Red
Hat Enterprise Linux. These are the same packages we have on Fedora and
we have decided to keep them up-to-date and sync'ed on both Fedora and
CentOS, so people can give Kata Containers a try also on CentOS.

The nature of these packages makes me think that those are "as official
as they can be", so that's the reason I've decided to add the
instructions to the "official" table.

Together with the change in the Installation Guide, let's also update
the README and reflect the fact we **strongly recommend** using CentOS
8, with the packages provided by the Virtualization Special Interest
Group, instead of using the CentOS 7 with packages built on OBS.

Fixes: 

Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
2020-09-15 17:24:24 +02:00

1.0 KiB

Install Kata Containers on CentOS

  1. Install the Kata Containers components with the following commands:

    $ source /etc/os-release
    $ cat <<EOF | sudo -E tee /etc/yum.repos.d/advanced-virt.repo
      [advanced-virt]
      name=Advanced Virtualization
      baseurl=http://mirror.centos.org/\$contentdir/\$releasever/virt/\$basearch/advanced-virtualization
      enabled=1
      gpgcheck=1
      skip_if_unavailable=1
      EOF
    $ cat <<EOF | sudo -E tee /etc/yum.repos.d/kata-containers.repo
      [kata-containers]
      name=Kata Containers
      baseurl=http://mirror.centos.org/\$contentdir/\$releasever/virt/\$basearch/kata-containers
      enabled=1
      gpgcheck=1
      skip_if_unavailable=1
      EOF
    $ sudo -E dnf module disable -y virt:rhel
    $ sudo -E dnf install -y kata-runtime
    
  2. Decide which container manager to use and select the corresponding link that follows: