Files
kata-containers/docs/install/centos-installation-guide.md
Peng Tao a5b3e1cdfd docs: drop docker installation guide
We have removed cli support and that means dockder support is dropped
for now. Also it doesn't make sense to have so many duplications on each
distribution as we can simply refer to the official docker guide on how
to install docker.

Signed-off-by: Peng Tao <bergwolf@hyper.sh>
2020-10-01 20:52:10 +08:00

978 B

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: