kata-containers/utils
Jakob Naucke ca30eee3e2 kata-manager: Retrieve static tarball
In `utils/kata-manager.sh`, we download the first asset listed for the
release, which used to be the static x86_64 tarball. If that happened to
not match the system architecture, we would abort. Besides that logic
being invalid for !x86_64 (despite not distributing other tarballs at
the moment), the first asset listed is also not the static tarball any
more, it is the vendored source tarball. Retrieve all _static_ tarballs
and select the appropriate one depending on architecture.

Fixes: #3254
Signed-off-by: Jakob Naucke <jakob.naucke@ibm.com>
2021-12-29 14:39:25 +02:00
..
kata-manager.sh kata-manager: Retrieve static tarball 2021-12-29 14:39:25 +02:00
README.md branch: change 2.0-dev to main 2021-01-22 15:49:35 +08:00

Utilities

Kata Manager

Warning:

Note:

We recommend users install Kata Containers using official distribution packages, where available.

The kata-manager.sh script automatically installs and configures Kata Containers and containerd.

This scripted method installs the latest versions of Kata Containers and containerd. However, be aware of the following before proceeding:

  • Packages will not be automatically updated

    Since a package manager is not being used, it is your responsibility to ensure these packages are kept up-to-date when new versions are released to ensure you are using a version that includes the latest security and bug fixes.

  • Potentially untested versions or version combinations

    This script installs the newest versions of Kata Containers and containerd from binary release packages. These versions may not have been tested with your distribution version.

If you still wish to continue, but prefer a manual installation, see the containerd installation guide.

Install a minimal Kata Containers system

To install and configure a system with Kata Containers and containerd, run:

$ bash -c "$(curl -fsSL https://raw.githubusercontent.com/kata-containers/kata-containers/main/utils/kata-manager.sh)"

Notes:

  • The script must be run on a system that does not have Kata Containers or containerd already installed on it.

  • The script accepts up to two parameters which can be used to test pre-release versions (a Kata Containers version, and a containerd version). If either version is unspecified or specified as "", the latest official version will be installed.