Files
kata-containers/install/centos-installation-guide.md
Jose Carlos Venegas Munoz 9f12577be2 install: Allow define kata branch.
Kata OBS repositories provide multiple branch support.

Let define a variable to allow users define kata branch to use.

Fixes: #423

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2019-04-08 11:13:04 -05:00

786 B

Install Kata Containers on CentOS

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

    $ source /etc/os-release
    $ sudo yum -y install yum-utils
    $ ARCH=$(arch)
    $ BRANCH="${BRANCH:-master}"
    $ sudo -E yum-config-manager --add-repo "http://download.opensuse.org/repositories/home:/katacontainers:/releases:/${ARCH}:/${BRANCH}/CentOS_${VERSION_ID}/home:katacontainers:releases:${ARCH}:${BRANCH}.repo"
    $ sudo -E yum -y install kata-runtime kata-proxy kata-shim
    
  2. Decide which container manager to use and select the corresponding link that follows: