mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-30 17:22:33 +00:00
Merge pull request #264 from marcov/refactor-install
install: Refactor installation instructions
This commit is contained in:
commit
eee4f44ed0
@ -1,21 +1,49 @@
|
|||||||
# Kata Containers installation user guides
|
# Kata Containers installation user guides
|
||||||
|
|
||||||
* [Prerequisites](#prerequisites)
|
- [Prerequisites](#prerequisites)
|
||||||
* [Installing Kata Containers](#installing-kata-containers)
|
- [Installing on a Linux System](#installing-on-a-linux-system)
|
||||||
* [Distros](#distros)
|
* [Automatic Installation](#automatic-installation)
|
||||||
* [Cloud services](#cloud-services)
|
* [Scripted Installation](#scripted-installation)
|
||||||
* [Further information](#further-information)
|
* [Manual Installation](#manual-installation)
|
||||||
|
+ [Supported Distributions](#supported-distributions)
|
||||||
|
- [Installing on a Cloud Service Platform](#installing-on-a-cloud-service-platform)
|
||||||
|
- [Further information](#further-information)
|
||||||
|
|
||||||
## Prerequisites
|
## Prerequisites
|
||||||
|
|
||||||
Kata Containers requires nested virtualization or bare metal.
|
Kata Containers requires nested virtualization or bare metal.
|
||||||
See the
|
See the
|
||||||
[hardware requirements](https://github.com/kata-containers/runtime/blob/master/README.md#hardware-requirements)
|
[hardware requirements](https://github.com/kata-containers/runtime/blob/master/README.md#hardware-requirements)
|
||||||
to see if your system is capable of running Kata Containers.
|
to see if your system is capable of running Kata Containers.
|
||||||
|
|
||||||
## Installing Kata Containers
|
## Installing on a Linux System
|
||||||
|
The following is an overview of the different installation methods available. All of these methods equally result
|
||||||
|
in a system configured to run Kata Containers.
|
||||||
|
|
||||||
> **Notes:**
|
|Installation method |Suggested for |Supported on |
|
||||||
|
|-----------------------------------------------------------|-----------------------------------------|-----------------------------------------|
|
||||||
|
|[Automatic](#automatic-installation) |Quick installation; new users |[distros list](#supported-distributions) |
|
||||||
|
|[Scripted](#scripted-installation) |Generating installation scripts |[distros list](#supported-distributions) |
|
||||||
|
|[Manual](#manual-installation) |Full control over each installation step |[distros list](#supported-distributions) |
|
||||||
|
|[Build from sources](#../Developer-Guide.md#initial-setup) |Developers and hackers |any distro |
|
||||||
|
|
||||||
|
### Automatic Installation
|
||||||
|
[Use kata-manager](installing-with-kata-manager.md) to automatically install Kata packages.
|
||||||
|
|
||||||
|
### Scripted Installation
|
||||||
|
[Use kata-doc-to-script](installing-with-kata-doc-to-script.md) to generate installation scripts.
|
||||||
|
|
||||||
|
### Manual Installation
|
||||||
|
Manual installation instructions are available for [these distributions](#supported-distributions) and document how to:
|
||||||
|
1. Add the Kata Containers repository to your distro package manager, and import the packages signing key.
|
||||||
|
2. Install the Kata Containers packages.
|
||||||
|
3. Install a supported container manager.
|
||||||
|
4. Configure the container manager to use `kata-runtime` as the default OCI runtime.
|
||||||
|
|
||||||
|
> **Notes on upgrading**:
|
||||||
|
> - If you are installing Kata Containers on a system that already has Clear Containers or `runv` installed,
|
||||||
|
> first read [the upgrading document](../Upgrading.md).
|
||||||
|
|
||||||
|
> **Notes on releases**:
|
||||||
> - [This download server](http://download.opensuse.org/repositories/home:/katacontainers:/releases:/)
|
> - [This download server](http://download.opensuse.org/repositories/home:/katacontainers:/releases:/)
|
||||||
> hosts the Kata Containers packages built by OBS for all the supported architectures.
|
> hosts the Kata Containers packages built by OBS for all the supported architectures.
|
||||||
> Packages are available for the latest and stable releases (more info [here](https://github.com/kata-containers/documentation/blob/master/Stable-Branch-Strategy.md)).
|
> Packages are available for the latest and stable releases (more info [here](https://github.com/kata-containers/documentation/blob/master/Stable-Branch-Strategy.md)).
|
||||||
@ -26,21 +54,28 @@ to see if your system is capable of running Kata Containers.
|
|||||||
> - When choosing a stable release, replace all `master` occurrences in the URLs
|
> - When choosing a stable release, replace all `master` occurrences in the URLs
|
||||||
> with a `stable-x.y` version available on the [download server](http://download.opensuse.org/repositories/home:/katacontainers:/releases:/).
|
> with a `stable-x.y` version available on the [download server](http://download.opensuse.org/repositories/home:/katacontainers:/releases:/).
|
||||||
|
|
||||||
### Distros
|
> **Notes on packages source verification**:
|
||||||
|
> - The Kata packages hosted on the download server are signed with GPG to ensure integrity and authenticity.
|
||||||
|
>
|
||||||
|
> - The public key used to sign packages is available [at this link](https://github.com/kata-containers/tests/data/rpm-signkey.pub); the fingerprint is `9FDC0CB6 3708CF80 3696E2DC D0B37B82 6063F3ED`.
|
||||||
|
>
|
||||||
|
> - Only trust the signing key and fingerprint listed in the previous bullet point. Do not disable GPG checks,
|
||||||
|
> otherwise packages source and authenticity is not guaranteed.
|
||||||
|
|
||||||
* [CentOS](centos-installation-guide.md)
|
#### Supported Distributions
|
||||||
* [Fedora](fedora-installation-guide.md)
|
|Distro specific installation instructions | Versions |
|
||||||
* [Red Hat](rhel-installation-guide.md)
|
|-------------------------------------------------------------------|-----------------|
|
||||||
* [OpenSuse](opensuse-installation-guide.md)
|
|[CentOS](centos-installation-guide.md) | 7 |
|
||||||
* [Ubuntu](ubuntu-installation-guide.md)
|
|[Fedora](fedora-installation-guide.md) | 27, 28 |
|
||||||
* [SLES](sles-installation-guide.md)
|
|[openSUSE](opensuse-installation-guide.md) | Leap (42.3) |
|
||||||
|
|[Red Hat Enterprise Linux (RHEL)](rhel-installation-guide.md) | 7 |
|
||||||
### Cloud services
|
|[SUSE Linux Enterprise Server (SLES)](sles-installation-guide.md) | SLES 12 SP3 |
|
||||||
|
|[Ubuntu](ubuntu-installation-guide.md) | 16.04, 18.04 |
|
||||||
|
|
||||||
|
## Installing on a Cloud Service Platform
|
||||||
* [Google Compute Engine (GCE)](gce-installation-guide.md)
|
* [Google Compute Engine (GCE)](gce-installation-guide.md)
|
||||||
|
|
||||||
## Further information
|
## Further information
|
||||||
|
|
||||||
* The [upgrading document](../Upgrading.md).
|
* The [upgrading document](../Upgrading.md).
|
||||||
* The [developer guide](../Developer-Guide.md).
|
* The [developer guide](../Developer-Guide.md).
|
||||||
* The [runtime documentation](https://github.com/kata-containers/runtime/blob/master/README.md).
|
* The [runtime documentation](https://github.com/kata-containers/runtime/blob/master/README.md).
|
||||||
|
@ -1,25 +1,7 @@
|
|||||||
# Install Kata Containers on CentOS
|
# Install Kata Containers on CentOS
|
||||||
|
|
||||||
> **Notes:**
|
|
||||||
>
|
|
||||||
> - Kata Containers packages are available for [CentOS\*](https://www.centos.org)
|
|
||||||
> version 7.
|
|
||||||
>
|
|
||||||
> - 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:
|
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
|
```bash
|
||||||
$ source /etc/os-release
|
$ source /etc/os-release
|
||||||
$ sudo yum -y install yum-utils
|
$ sudo yum -y install yum-utils
|
||||||
|
@ -4,13 +4,6 @@
|
|||||||
>
|
>
|
||||||
> - This guide assumes you have
|
> - This guide assumes you have
|
||||||
> [already installed the Kata Containers packages](../centos-installation-guide.md).
|
> [already installed the Kata Containers packages](../centos-installation-guide.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 latest version of Docker with the following commands:
|
1. Install the latest version of Docker with the following commands:
|
||||||
|
|
||||||
|
@ -4,13 +4,6 @@
|
|||||||
>
|
>
|
||||||
> - This guide assumes you have
|
> - This guide assumes you have
|
||||||
> [already installed the Kata Containers packages](../fedora-installation-guide.md).
|
> [already installed the Kata Containers packages](../fedora-installation-guide.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 latest version of Docker with the following commands:
|
1. Install the latest version of Docker with the following commands:
|
||||||
|
|
||||||
|
@ -4,13 +4,6 @@
|
|||||||
>
|
>
|
||||||
> - This guide assumes you have
|
> - This guide assumes you have
|
||||||
> [already installed the Kata Containers packages](../opensuse-installation-guide.md).
|
> [already installed the Kata Containers packages](../opensuse-installation-guide.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 latest version of Docker with the following commands:
|
1. Install the latest version of Docker with the following commands:
|
||||||
|
|
||||||
|
@ -4,13 +4,6 @@
|
|||||||
>
|
>
|
||||||
> - This guide assumes you have
|
> - This guide assumes you have
|
||||||
> [already installed the Kata Containers packages](../rhel-installation-guide.md).
|
> [already installed the Kata Containers packages](../rhel-installation-guide.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 latest version of Docker with the following commands:
|
1. Install the latest version of Docker with the following commands:
|
||||||
|
|
||||||
|
@ -4,13 +4,6 @@
|
|||||||
>
|
>
|
||||||
> - This guide assumes you have
|
> - This guide assumes you have
|
||||||
> [already installed the Kata Containers packages](../sles-installation-guide.md).
|
> [already installed the Kata Containers packages](../sles-installation-guide.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 latest version of Docker with the following commands:
|
1. Install the latest version of Docker with the following commands:
|
||||||
|
|
||||||
|
@ -4,13 +4,6 @@
|
|||||||
>
|
>
|
||||||
> - This guide assumes you have
|
> - This guide assumes you have
|
||||||
> [already installed the Kata Containers packages](../ubuntu-installation-guide.md).
|
> [already installed the Kata Containers packages](../ubuntu-installation-guide.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 latest version of Docker with the following commands:
|
1. Install the latest version of Docker with the following commands:
|
||||||
|
|
||||||
|
@ -1,25 +1,7 @@
|
|||||||
# Install Kata Containers on Fedora
|
# Install Kata Containers on Fedora
|
||||||
|
|
||||||
> **Notes:**
|
|
||||||
>
|
|
||||||
> - Kata Containers packages are available for [Fedora\*](https://fedoraproject.org)
|
|
||||||
> versions **27** and **28**.
|
|
||||||
>
|
|
||||||
> - 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:
|
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
|
```bash
|
||||||
$ source /etc/os-release
|
$ source /etc/os-release
|
||||||
$ ARCH=$(arch)
|
$ ARCH=$(arch)
|
||||||
|
38
install/installing-with-kata-doc-to-script.md
Normal file
38
install/installing-with-kata-doc-to-script.md
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
# Installing with kata-doc-to-script
|
||||||
|
|
||||||
|
* [Introduction](#introduction)
|
||||||
|
* [Packages Installation](#packages-installation)
|
||||||
|
* [Docker Installation and Setup](#docker-installation-and-setup)
|
||||||
|
|
||||||
|
## Introduction
|
||||||
|
Use [these installation instructions](README.md#supported-distributions) together with
|
||||||
|
[`kata-doc-to-script`](https://github.com/kata-containers/tests/blob/master/.ci/kata-doc-to-script.sh)
|
||||||
|
to generate installation bash scripts.
|
||||||
|
|
||||||
|
> Note:
|
||||||
|
> - Only the Docker container manager installation can be scripted. For other setups you must
|
||||||
|
> install and configure the container manager manually.
|
||||||
|
|
||||||
|
## Packages Installation
|
||||||
|
```
|
||||||
|
$ source /etc/os-release
|
||||||
|
$ curl -fsSL -O https://raw.githubusercontent.com/kata-containers/documentation/master/install/${ID}-installation-guide.md
|
||||||
|
$ bash -c "$(curl -fsSL \
|
||||||
|
https://raw.githubusercontent.com/kata-containers/tests/master/.ci/kata-doc-to-script.sh) \
|
||||||
|
${ID}-installation-guide.md \
|
||||||
|
${ID}-install.sh"
|
||||||
|
```
|
||||||
|
|
||||||
|
For example, if your distribution is CentOS, the previous example will generate a runnable shell script called `centos-install.sh`.
|
||||||
|
|
||||||
|
## Docker Installation and Setup
|
||||||
|
```
|
||||||
|
$ source /etc/os-release
|
||||||
|
$ curl -fsSL -O https://raw.githubusercontent.com/kata-containers/documentation/master/install/docker/${ID}-docker-install.md
|
||||||
|
$ bash -c "$(curl -fsSL \
|
||||||
|
https://raw.githubusercontent.com/kata-containers/tests/master/.ci/kata-doc-to-script.sh) \
|
||||||
|
${ID}-docker-install.md \
|
||||||
|
${ID}-docker-install.sh"
|
||||||
|
```
|
||||||
|
|
||||||
|
For example, if your distribution is CentOS, this will generate a runnable shell script called `centos-docker-install.sh`.
|
37
install/installing-with-kata-manager.md
Normal file
37
install/installing-with-kata-manager.md
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
# Installing with kata-manager
|
||||||
|
|
||||||
|
* [Introduction](#Introduction)
|
||||||
|
* [Full Installation](#full-installation)
|
||||||
|
* [Install the Kata packages only](#install-the-kata-packages-only)
|
||||||
|
* [Further Information](#further-information)
|
||||||
|
|
||||||
|
## Introduction
|
||||||
|
`kata-manager` automates the Kata Containers installation procedure documented for [these Linux distributions](README.md#supported-distributions).
|
||||||
|
|
||||||
|
> Note:
|
||||||
|
> - Full installation mode is only available for Docker container manager. For other setups, you
|
||||||
|
> can still use `kata-manager` to [install Kata package](#install-kata-packages-only), and then setup your container manager manually.
|
||||||
|
|
||||||
|
## Full Installation
|
||||||
|
This command does the following:
|
||||||
|
1. Installs Kata Containers packages
|
||||||
|
2. Installs Docker
|
||||||
|
3. Configure Docker to use the Kata OCI runtime by default
|
||||||
|
|
||||||
|
```
|
||||||
|
$ bash -c "$(curl -fsSL \
|
||||||
|
$ https://raw.githubusercontent.com/kata-containers/tests/master/cmd/kata-manager/kata-manager.sh) \
|
||||||
|
install-docker-system"
|
||||||
|
```
|
||||||
|
|
||||||
|
## Install the Kata packages only
|
||||||
|
Use the following command to only install Kata Containers packages.
|
||||||
|
|
||||||
|
```
|
||||||
|
$ bash -c "$(curl -fsSL \
|
||||||
|
$ https://raw.githubusercontent.com/kata-containers/tests/master/cmd/kata-manager/kata-manager.sh) \
|
||||||
|
install-packages"
|
||||||
|
```
|
||||||
|
|
||||||
|
## Further Information
|
||||||
|
For more information on what `kata-manager` can do, refer to the [`kata-manager` page](https://github.com/kata-containers/tests/blob/master/cmd/kata-manager).
|
@ -1,25 +1,7 @@
|
|||||||
# Install Kata Containers on openSUSE Leap
|
# Install Kata Containers on openSUSE Leap
|
||||||
|
|
||||||
> **Notes:**
|
|
||||||
>
|
|
||||||
> - Kata Containers packages are available for [openSUSE\*](https://www.opensuse.org/)
|
|
||||||
> version 43.2.
|
|
||||||
>
|
|
||||||
> - 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:
|
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
|
```bash
|
||||||
$ source /etc/os-release
|
$ source /etc/os-release
|
||||||
$ ARCH=$(arch)
|
$ ARCH=$(arch)
|
||||||
|
@ -1,25 +1,7 @@
|
|||||||
# Install Kata Containers on RHEL
|
# Install Kata Containers on RHEL
|
||||||
|
|
||||||
> **Notes:**
|
|
||||||
>
|
|
||||||
> - Kata Containers packages are available for [RHEL\*](https://www.redhat.com)
|
|
||||||
> version 7.
|
|
||||||
>
|
|
||||||
> - 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:
|
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
|
```bash
|
||||||
$ source /etc/os-release
|
$ source /etc/os-release
|
||||||
$ ARCH=$(arch)
|
$ ARCH=$(arch)
|
||||||
|
@ -1,25 +1,7 @@
|
|||||||
# Install Kata Containers on SLES
|
# Install Kata Containers on SLES
|
||||||
|
|
||||||
> **Notes:**
|
|
||||||
>
|
|
||||||
> - Kata Containers packages are available for [openSUSE\*](https://www.opensuse.org/)
|
|
||||||
> version 43.2.
|
|
||||||
>
|
|
||||||
> - 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:
|
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
|
```bash
|
||||||
$ ARCH=$(arch)
|
$ ARCH=$(arch)
|
||||||
$ sudo -E zypper addrepo "http://download.opensuse.org/repositories/home:/katacontainers:/releases:/${ARCH}:/master/SLE_12_SP3/home:katacontainers:releases:${ARCH}:master.repo"
|
$ sudo -E zypper addrepo "http://download.opensuse.org/repositories/home:/katacontainers:/releases:/${ARCH}:/master/SLE_12_SP3/home:katacontainers:releases:${ARCH}:master.repo"
|
||||||
|
@ -1,25 +1,7 @@
|
|||||||
# Install Kata Containers on Ubuntu
|
# Install Kata Containers on Ubuntu
|
||||||
|
|
||||||
> **Notes:**
|
|
||||||
>
|
|
||||||
> - Kata Containers packages are available for [Ubuntu\*](https://www.ubuntu.com)
|
|
||||||
> versions **16.04** and **18.04**.
|
|
||||||
>
|
|
||||||
> - 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:
|
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
|
```bash
|
||||||
$ ARCH=$(arch)
|
$ ARCH=$(arch)
|
||||||
$ sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/katacontainers:/releases:/${ARCH}:/master/xUbuntu_$(lsb_release -rs)/ /' > /etc/apt/sources.list.d/kata-containers.list"
|
$ sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/katacontainers:/releases:/${ARCH}:/master/xUbuntu_$(lsb_release -rs)/ /' > /etc/apt/sources.list.d/kata-containers.list"
|
||||||
|
Loading…
Reference in New Issue
Block a user