mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-06 16:04:26 +01:00
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>
786 B
786 B
Install Kata Containers on CentOS
-
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 -
Decide which container manager to use and select the corresponding link that follows: