mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-30 04:24:29 +01:00
Editing systemd unit files to customize Docker for Kata may generate conflicts with what's specified in /etc/sysconfig/docker, so use that file directly. Also, libcgroup1 dependency is wrong for newer distros, and should be pulled automatically for older ones. Signed-off-by: Marco Vedovati <mvedovati@suse.com>
1022 B
1022 B
Install Kata Containers on openSUSE
-
Install the Kata Containers components with the following commands:
$ source /etc/os-release $ DISTRO_REPO=$(sed "s/ /_/g" <<< "$NAME") $ [ -n "$VERSION" ] && DISTRO_REPO+="_${VERSION}" $ ARCH=$(arch) $ BRANCH="${BRANCH:-master}" $ REPO_ALIAS="kata-${BRANCH}" $ PUBKEY="/tmp/rpm-signkey.pub" $ curl -SsL -o "$PUBKEY" "https://raw.githubusercontent.com/kata-containers/tests/master/data/rpm-signkey.pub" $ sudo -E rpm --import "$PUBKEY" $ zypper lr "$REPO_ALIAS" && sudo -E zypper -n removerepo "$REPO_ALIAS" $ sudo -E zypper addrepo --refresh "http://download.opensuse.org/repositories/home:/katacontainers:/releases:/${ARCH}:/${BRANCH}/${DISTRO_REPO}/" "$REPO_ALIAS" $ sudo -E zypper -n install kata-runtime -
Decide which container manager to use and select the corresponding link that follows: