crio now requires runc rc3 or greater
Also fix tutorial for updated cni and plugins packages Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
parent
d2aa49a87b
commit
51276db83e
1 changed files with 42 additions and 29 deletions
71
tutorial.md
71
tutorial.md
|
@ -33,31 +33,17 @@ This section will walk you through installing the following components:
|
||||||
|
|
||||||
### runc
|
### runc
|
||||||
|
|
||||||
Download the `runc` release binary:
|
CRI-O requires the version of runc below or newer.
|
||||||
|
|
||||||
```
|
You can check your `runc` version:
|
||||||
wget https://github.com/opencontainers/runc/releases/download/v1.0.0-rc2/runc-linux-amd64
|
|
||||||
```
|
|
||||||
|
|
||||||
Set the executable bit and copy the `runc` binary into your PATH:
|
|
||||||
|
|
||||||
```
|
|
||||||
chmod +x runc-linux-amd64
|
|
||||||
```
|
|
||||||
|
|
||||||
```
|
|
||||||
sudo mv runc-linux-amd64 /usr/bin/runc
|
|
||||||
```
|
|
||||||
|
|
||||||
Print the `runc` version:
|
|
||||||
|
|
||||||
```
|
```
|
||||||
runc -version
|
runc -version
|
||||||
```
|
```
|
||||||
```
|
```
|
||||||
runc version 1.0.0-rc2
|
runc version 1.0.0-rc3
|
||||||
commit: c91b5bea4830a57eac7882d7455d59518cdf70ec
|
commit: 75f8da7c889acc4509a0cf6f0d3a8f9584778375
|
||||||
spec: 1.0.0-rc2-dev
|
spec: 1.0.0-rc5
|
||||||
```
|
```
|
||||||
|
|
||||||
### crio
|
### crio
|
||||||
|
@ -187,7 +173,7 @@ sudo systemctl start crio
|
||||||
sudo crioctl runtimeversion
|
sudo crioctl runtimeversion
|
||||||
```
|
```
|
||||||
```
|
```
|
||||||
VersionResponse: Version: 0.1.0, RuntimeName: runc, RuntimeVersion: 1.0.0-rc2, RuntimeApiVersion: v1alpha1
|
VersionResponse: Version: 0.1.0, RuntimeName: runc, RuntimeVersion: 1.0.0-rc3, RuntimeApiVersion: v1alpha1
|
||||||
```
|
```
|
||||||
|
|
||||||
### CNI plugins
|
### CNI plugins
|
||||||
|
@ -216,15 +202,6 @@ Output:
|
||||||
Building API
|
Building API
|
||||||
Building reference CLI
|
Building reference CLI
|
||||||
Building plugins
|
Building plugins
|
||||||
flannel
|
|
||||||
tuning
|
|
||||||
bridge
|
|
||||||
ipvlan
|
|
||||||
loopback
|
|
||||||
macvlan
|
|
||||||
ptp
|
|
||||||
dhcp
|
|
||||||
host-local
|
|
||||||
noop
|
noop
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -238,6 +215,42 @@ sudo mkdir -p /opt/cni/bin
|
||||||
sudo cp bin/* /opt/cni/bin/
|
sudo cp bin/* /opt/cni/bin/
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Plugins
|
||||||
|
|
||||||
|
```
|
||||||
|
cd $GOPATH/src/github.com/containernetworking/plugins
|
||||||
|
```
|
||||||
|
|
||||||
|
Build the `plugin` binaries:
|
||||||
|
|
||||||
|
```
|
||||||
|
./build.sh
|
||||||
|
```
|
||||||
|
|
||||||
|
Output:
|
||||||
|
|
||||||
|
```
|
||||||
|
Building plugins
|
||||||
|
flannel
|
||||||
|
portmap
|
||||||
|
tuning
|
||||||
|
bridge
|
||||||
|
ipvlan
|
||||||
|
loopback
|
||||||
|
macvlan
|
||||||
|
ptp
|
||||||
|
vlan
|
||||||
|
dhcp
|
||||||
|
host-local
|
||||||
|
sample
|
||||||
|
```
|
||||||
|
|
||||||
|
Install the `plugin` binaries:
|
||||||
|
|
||||||
|
```
|
||||||
|
sudo cp bin/* /opt/cni/bin/
|
||||||
|
```
|
||||||
|
|
||||||
#### Configure CNI
|
#### Configure CNI
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue