Fixed install.md documentation

Signed-off-by: Oleksandr Stepanov <alexandrst88@gmail.com>
This commit is contained in:
Oleksandr Stepanov 2017-11-21 23:17:03 +02:00
parent 73c1a9823f
commit a71948e9e7
No known key found for this signature in database
GPG key ID: 1B3B37E5A4C7A5A6

View file

@ -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