The installation requires the current user to run sudo without specifying a password. Verify this with the following commands:
$ su -
# echo "$some_user ALL=(ALL:ALL) NOPASSWD: ALL" | (EDITOR="tee -a" visudo)
$ exit
- Ensure the system packages are up-to-date with the command:
$ sudo yum -y update
- Install Git:
sudo yum install -y git
- Create the installation directory and clone the repository with the following commands:
$ mkdir -p $HOME/go/src/github/01org
$ cd $HOME/go/src/github/01org
$ git clone https://github.com/01org/cc-oci-runtime.git
$ cd cc-oci-runtime
- Run the installation script rhel-setup.sh:
$ ./installation/rhel-setup.sh
- Check the
cc-oci-runtime
version with the following command:
$ cc-oci-runtime --version
- Run an example with the following command:
$ sudo docker run -ti fedora bash