Files
kata-containers/install/centos-installation-guide.md
2018-07-11 12:57:00 -07:00

34 lines
1.6 KiB
Markdown

# Install Kata Containers on CentOS
> **Notes:**
>
> - Kata Containers packages are available for [CentOS\*](https://www.centos.org)
> version 7 (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 yum -y install yum-utils
$ sudo -E VERSION_ID=$VERSION_ID yum-config-manager --add-repo "http://download.opensuse.org/repositories/home:/katacontainers:/release/CentOS_${VERSION_ID}/home:katacontainers:release.repo"
$ sudo -E yum -y install kata-runtime kata-proxy kata-shim
```
2. Decide which container manager to use and select the corresponding link that follows:
- [Docker](docker/centos-docker-install.md)
- [Kubernetes](https://github.com/kata-containers/documentation/blob/master/Developer-Guide.md#run-kata-containers-with-kubernetes)