mirror of
https://github.com/flatcar/scripts.git
synced 2025-10-03 03:21:43 +02:00
Merge pull request #1214 from kinvolk/jepio/containerd-config-fix
explicitly set 'runtime_type' in containerd config
This commit is contained in:
commit
5bc0c080f3
@ -1,3 +1,5 @@
|
|||||||
|
version = 2
|
||||||
|
|
||||||
# persistent data location
|
# persistent data location
|
||||||
root = "/var/lib/containerd"
|
root = "/var/lib/containerd"
|
||||||
# runtime state information
|
# runtime state information
|
||||||
@ -16,7 +18,7 @@ uid = 0
|
|||||||
# socket gid
|
# socket gid
|
||||||
gid = 0
|
gid = 0
|
||||||
|
|
||||||
[plugins.linux]
|
[plugins."containerd.runtime.v1.linux"]
|
||||||
# shim binary name/path
|
# shim binary name/path
|
||||||
shim = "containerd-shim"
|
shim = "containerd-shim"
|
||||||
# runtime binary name/path
|
# runtime binary name/path
|
||||||
@ -25,6 +27,8 @@ runtime = "runc"
|
|||||||
# live restore is not supported
|
# live restore is not supported
|
||||||
no_shim = false
|
no_shim = false
|
||||||
|
|
||||||
# config version 1; version 2 uses full plugin paths
|
[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc]
|
||||||
[plugins.cri.containerd.runtimes.runc.options]
|
# setting runc.options unsets parent settings
|
||||||
|
runtime_type = "io.containerd.runc.v2"
|
||||||
|
[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc.options]
|
||||||
SystemdCgroup = false
|
SystemdCgroup = false
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
version = 2
|
||||||
|
|
||||||
# persistent data location
|
# persistent data location
|
||||||
root = "/var/lib/containerd"
|
root = "/var/lib/containerd"
|
||||||
# runtime state information
|
# runtime state information
|
||||||
@ -16,7 +18,7 @@ uid = 0
|
|||||||
# socket gid
|
# socket gid
|
||||||
gid = 0
|
gid = 0
|
||||||
|
|
||||||
[plugins.linux]
|
[plugins."containerd.runtime.v1.linux"]
|
||||||
# shim binary name/path
|
# shim binary name/path
|
||||||
shim = "containerd-shim"
|
shim = "containerd-shim"
|
||||||
# runtime binary name/path
|
# runtime binary name/path
|
||||||
@ -25,6 +27,8 @@ runtime = "runc"
|
|||||||
# live restore is not supported
|
# live restore is not supported
|
||||||
no_shim = false
|
no_shim = false
|
||||||
|
|
||||||
# config version 1; version 2 uses full plugin paths
|
[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc]
|
||||||
[plugins.cri.containerd.runtimes.runc.options]
|
# setting runc.options unsets parent settings
|
||||||
|
runtime_type = "io.containerd.runc.v2"
|
||||||
|
[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc.options]
|
||||||
SystemdCgroup = true
|
SystemdCgroup = true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user