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

Latest commit

 

History

History
69 lines (45 loc) · 1.36 KB

rhel-installation-guide.md

File metadata and controls

69 lines (45 loc) · 1.36 KB

Install Intel® Clear Containers 3.0 on RHEL

Pre-requisites

Install Docker-EE or Docker-CE on RHEL.

Required setup

You are required to run the sudo command without specifying a password to set up the Clear Containers 3.X installation. Verify this requirement with the following commands:

$ su -
# echo "$some_user ALL=(ALL:ALL) NOPASSWD: ALL" | (EDITOR="tee -a" visudo)
$ exit

The following steps show you how to install Clear Containers 3.X

  1. Ensure the system packages are up-to-date:
$ sudo yum -y update

  1. Install Git:
$ sudo yum install -y git

  1. Create the installation directory and clone the repository:
$ mkdir -p $HOME/go/src/github/clearcontainers
$ cd $HOME/go/src/github/clearcontainers
$ git clone https://github.com/clearcontainers/runtime
$ cd runtime

  1. Run the installation script:
$ script -efc ./installation/rhel-setup.sh

Note:

  • The script(1) command is not strictly necessary to run the installation script but using this command writes a log of the installation to the typescript. Administrators might find the log useful to see the changes made and when debugging issues.

Verify the Clear Containers 3.X installation is successful:

  1. Check the cc-runtime version:
$ cc-runtime --version

  1. Test that a Clear Container can be created:
$ sudo docker run -ti busybox sh