Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Latest commit

 

History

History
22 lines (18 loc) · 1.19 KB

debian-installation-guide.md

File metadata and controls

22 lines (18 loc) · 1.19 KB

Install Kata Containers on Debian

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

    $ export DEBIAN_FRONTEND=noninteractive
    $ ARCH=$(arch)
    $ BRANCH="${BRANCH:-master}"
    $ source /etc/os-release
    $ [ "$ID" = debian ] && [ -z "$VERSION_ID" ] && echo >&2 "ERROR: Debian unstable not supported.
      You can try stable packages here:
      http://download.opensuse.org/repositories/home:/katacontainers:/releases:/${ARCH}:/${BRANCH}" && exit 1
    $ sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/katacontainers:/releases:/${ARCH}:/${BRANCH}/Debian_${VERSION_ID}/ /' > /etc/apt/sources.list.d/kata-containers.list"
    $ curl -sL  http://download.opensuse.org/repositories/home:/katacontainers:/releases:/${ARCH}:/${BRANCH}/Debian_${VERSION_ID}/Release.key | sudo apt-key add -
    $ sudo -E apt-get update
    $ sudo -E apt-get -y install kata-runtime kata-proxy kata-shim
  2. Decide which container manager to use and select the corresponding link that follows: