Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Latest commit

 

History

History
47 lines (35 loc) · 1.72 KB

installing-with-kata-doc-to-script.md

File metadata and controls

47 lines (35 loc) · 1.72 KB

Installing with kata-doc-to-script

Introduction

Use these installation instructions together with kata-doc-to-script 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://github.com/kata-containers/documentation/tree/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. To proceed with the installation, run:

$ source /etc/os-release
$ bash "./${ID}-install.sh"

Docker Installation and Setup

$ source /etc/os-release
$ curl -fsSL -O https://github.com/kata-containers/documentation/tree/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.

To proceed with the Docker installation, run:

$ source /etc/os-release
$ bash "./${ID}-docker-install.sh"