mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-26 17:54:24 +01:00
34 lines
1.6 KiB
Markdown
34 lines
1.6 KiB
Markdown
# Install Kata Containers on Fedora
|
|
|
|
> **Notes:**
|
|
>
|
|
> - Kata Containers packages are available for [Fedora\*](https://fedoraproject.org)
|
|
> versions **26** and **27** (currently `x86_64` only).
|
|
>
|
|
> - If you are installing on a system that already has Clear Containers or `runv` installed,
|
|
> first read [the upgrading document](../Upgrading.md).
|
|
>
|
|
> - If you do not want to copy or type all these instructions by hand, you can use the
|
|
> [`kata-manager`](https://github.com/kata-containers/tests/blob/master/cmd/kata-manager/kata-manager.sh)
|
|
> script to install the packaged system including your chosen container
|
|
> manager. Alternatively, you can generate a runnable shell script from
|
|
> individual documents using the
|
|
> [`kata-doc-to-script`](https://github.com/kata-containers/tests/blob/master/.ci/kata-doc-to-script.sh) script.
|
|
|
|
1. Install the Kata Containers components with the following commands:
|
|
|
|
> **Note:** This installation channel is not secure since the repository currently
|
|
> redirects download URLs to `http`.
|
|
|
|
```bash
|
|
$ source /etc/os-release
|
|
$ sudo dnf -y install dnf-plugins-core
|
|
$ sudo -E VERSION_ID=$VERSION_ID dnf config-manager --add-repo http://download.opensuse.org/repositories/home:/katacontainers:/release/Fedora\_$VERSION_ID/home:katacontainers:release.repo
|
|
$ sudo -E dnf -y install kata-runtime kata-proxy kata-shim
|
|
```
|
|
|
|
2. Decide which container manager to use and select the corresponding link that follows:
|
|
|
|
- [Docker](docker/fedora-docker-install.md)
|
|
- [Kubernetes](https://github.com/kata-containers/documentation/blob/master/Developer-Guide.md#run-kata-containers-with-kubernetes)
|