This repository has been archived by the owner on May 12, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 304
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
install: Refactor installation instructions
Refactor installation instruction to minimize duplicate content, to document package source verification process, and to remove some of the typos. Fixes: #263 Signed-off-by: Marco Vedovati <mvedovati@suse.com>
- Loading branch information
Showing
15 changed files
with
127 additions
and
168 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Installing with kata-doc-to-script | ||
|
||
* [Introduction](#introduction) | ||
* [Packages Installation](#packages-installation) | ||
* [Docker Installation and Setup](#docker-installation-and-setup) | ||
|
||
## Introduction | ||
[`kata-doc-to-script`](https://github.com/kata-containers/tests/blob/master/.ci/kata-doc-to-script.sh) | ||
can be used to generate installation bash scripts from [these installation instructions](README.md#supported-distributions). | ||
|
||
> Note: | ||
> - Only the Docker container manager installation can be scripted. For other setups you will need to | ||
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" | ||
``` | ||
|
||
If for example your distribution is CentOS, this 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" | ||
``` | ||
|
||
If for example your distribution is CentOS, this will generate a runnable shell script called `centos-docker-install.sh`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 will: | ||
1. install Kata Containers packages, | ||
2. install 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 | ||
This command will 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 | ||
`kata-manager` can do much more; refer to [`kata-manager` page](https://github.com/kata-containers/tests/blob/master/cmd/kata-manager) for more information. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.