Change default runc location
With the current supported version of runc(1.0.0-rc3) in cri-o the default installation location is `/usr/local/sbin/runc` as opposed to `/usr/bin/runc` so changing that everywhere. Signed-off-by: Suraj Deshmukh <surajssd009005@gmail.com>
This commit is contained in:
parent
d25b88583f
commit
fb10263a4b
4 changed files with 4 additions and 4 deletions
|
@ -87,7 +87,7 @@ ocid is meant to provide an integration path between OCI conformant runtimes and
|
||||||
OCID state dir (default: "/var/run/containers/storage")
|
OCID state dir (default: "/var/run/containers/storage")
|
||||||
|
|
||||||
**--runtime**=""
|
**--runtime**=""
|
||||||
OCI runtime path (default: "/usr/bin/runc")
|
OCI runtime path (default: "/usr/local/sbin/runc")
|
||||||
|
|
||||||
**--selinux**=*true*|*false*
|
**--selinux**=*true*|*false*
|
||||||
Enable selinux support (default: false)
|
Enable selinux support (default: false)
|
||||||
|
|
|
@ -55,7 +55,7 @@ The `ocid` table supports the following options:
|
||||||
Environment variable list for conmon process (default: ["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",])
|
Environment variable list for conmon process (default: ["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",])
|
||||||
|
|
||||||
**runtime**=""
|
**runtime**=""
|
||||||
OCI runtime path (default: "/usr/bin/runc")
|
OCI runtime path (default: "/usr/local/sbin/runc")
|
||||||
|
|
||||||
**selinux**=*true*|*false*
|
**selinux**=*true*|*false*
|
||||||
Enable selinux support (default: false)
|
Enable selinux support (default: false)
|
||||||
|
|
|
@ -207,7 +207,7 @@ func DefaultConfig() *Config {
|
||||||
Listen: "/var/run/ocid.sock",
|
Listen: "/var/run/ocid.sock",
|
||||||
},
|
},
|
||||||
RuntimeConfig: RuntimeConfig{
|
RuntimeConfig: RuntimeConfig{
|
||||||
Runtime: "/usr/bin/runc",
|
Runtime: "/usr/local/sbin/runc",
|
||||||
RuntimeHostPrivileged: "",
|
RuntimeHostPrivileged: "",
|
||||||
Conmon: conmonPath,
|
Conmon: conmonPath,
|
||||||
ConmonEnv: []string{
|
ConmonEnv: []string{
|
||||||
|
|
|
@ -46,7 +46,7 @@ chmod +x runc-linux-amd64
|
||||||
```
|
```
|
||||||
|
|
||||||
```
|
```
|
||||||
sudo mv runc-linux-amd64 /usr/bin/runc
|
sudo mv runc-linux-amd64 /usr/local/sbin/runc
|
||||||
```
|
```
|
||||||
|
|
||||||
Print the `runc` version:
|
Print the `runc` version:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue