From a71948e9e70ee031350c0902b52a6b7ed68b1bda Mon Sep 17 00:00:00 2001 From: Oleksandr Stepanov Date: Tue, 21 Nov 2017 23:17:03 +0200 Subject: [PATCH] Fixed install.md documentation Signed-off-by: Oleksandr Stepanov --- tutorial.md | 34 +++++++++++++++++++++++++++------- 1 file changed, 27 insertions(+), 7 deletions(-) diff --git a/tutorial.md b/tutorial.md index ac1b69ea..952265dd 100644 --- a/tutorial.md +++ b/tutorial.md @@ -66,16 +66,16 @@ The `crio` project does not ship binary releases so you'll need to build it from #### Install the Go runtime and tool chain -Download the Go 1.7.4 binary release: +Download the Go 1.8.5 binary release: ``` -wget https://storage.googleapis.com/golang/go1.7.4.linux-amd64.tar.gz +wget https://storage.googleapis.com/golang/go1.8.5.linux-amd64.tar.gz ``` -Install Go 1.7.4: +Install Go 1.8.5: ``` -sudo tar -xvf go1.7.4.linux-amd64.tar.gz -C /usr/local/ +sudo tar -xvf go1.8.5.linux-amd64.tar.gz -C /usr/local/ ``` ``` @@ -90,20 +90,26 @@ export GOPATH=$HOME/go export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin ``` -At this point the Go 1.7.4 tool chain should be installed: +At this point the Go 1.8.5 tool chain should be installed: ``` go version ``` ``` -go version go1.7.4 linux/amd64 +go version go1.8.5 linux/amd64 ``` #### Build crio from source ``` -sudo apt-get install -y libglib2.0-dev libseccomp-dev libapparmor-dev +sudo apt-get update && apt-get install -y libglib2.0-dev \ + libseccomp-dev \ + libapparmor-dev \ + libgpgme11-dev \ + libdevmapper-dev \ + make \ + git ``` ``` @@ -271,6 +277,20 @@ sudo sh -c 'cat >/etc/cni/net.d/99-loopback.conf <<-EOF EOF' ``` +Install `skopeo-containers` package from `ppa:projectatomic/ppa` + +``` +sudo add-apt-repository ppa:projectatomic/ppa +sudo apt-get update +sudo apt-get install skopeo-containers -y +``` + +Restart crio in order to apply CNI config + +``` +systemctl restart crio +``` + At this point `CNI` is installed and configured to allocation IP address to containers from the `10.88.0.0/16` subnet. ## Pod Tutorial