-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Containerd configuration shim format problem #110
Comments
Could you please try putting the section [plugins.cri.containerd.runtimes.spin]
runtime_type = "io.containerd.spin.v1" under the |
@Mossaka thanks for your advice. I will try it according to what you said. |
@Mossaka I still got the same error. ~/containerd-1.7.2# containerd
containerd: failed to load TOML from /etc/containerd/config.toml: invalid plugin key URI "cri" expect io.containerd.x.vx Below is my configuration: [metrics]
address = ""
grpc_histogram = false
[plugins]
[plugins.cri.containerd.runtimes.spin]
runtime_type = "io.containerd.spin.v1"
[plugins."io.containerd.gc.v1.scheduler"]
deletion_threshold = 0
mutation_threshold = 100
pause_threshold = 0.02
schedule_delay = "0s"
startup_delay = "100ms" |
But I found a solution: [plugins."io.containerd.grpc.v1.cri".containerd]
default_runtime_name = "runc"
disable_snapshot_annotations = true
discard_unpacked_layers = false
ignore_rdt_not_enabled_errors = false
no_pivot = false
snapshotter = "overlayfs"
# The following is the configuration I added for spin
[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.spin]
runtime_type = "io.containerd.spin.v1" To my surprise, I successfully created the Can I try to fix the docs? |
Sure, go ahead! |
dierbei
added a commit
to dierbei/containerd-wasm-shims
that referenced
this issue
Jul 11, 2023
dierbei
added a commit
to dierbei/containerd-wasm-shims
that referenced
this issue
Jul 11, 2023
Mossaka
pushed a commit
that referenced
this issue
Jul 11, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I moved the built
containerd-shim-spin-v1
to/usr/local/bin/
.Then I try to modify the configuration file of containerd, the content is roughly as follows:
But I encountered an error when I finally started containerd, the information is as follows:
how do i solve this problem?
The text was updated successfully, but these errors were encountered: