This repository was archived by the owner on Jul 14, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 50
Spin container image does not seem to work #202
Copy link
Copy link
Open
Description
At https://github.com/rgl/spin-http-ts-example/tree/test-release I'm building an example spin http-ts application and pushing it with spin registry push to https://github.com/rgl/spin-http-ts-example/pkgs/container/spin-http-ts-example.
The application works fine when running locally (using spin up) and in fermyon cloud (using spin deploy), but I cannot make it work with containerd 1.7.12 and https://github.com/deislabs/containerd-wasm-shims/releases/download/v0.10.0/containerd-wasm-shims-v2-spin-linux-x86_64.tar.gz.
containerd is configured as:
# containerd config default >/etc/containerd/config.toml
# cat >>/etc/containerd/config.toml <<EOF
[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.spin]
runtime_type = "io.containerd.spin.v2"
EOFI've tried with:
ctr image pull \
ghcr.io/rgl/spin-http-ts-example:0.1.0-rc5
ctr run \
--rm \
--runtime io.containerd.spin.v2 \
ghcr.io/rgl/spin-http-ts-example:0.1.0-rc5 \
ctr-spin-http-ts-exampleBut nothing seems to happen besides the shim being started:
# ps ax | grep shim
6857 ? S 0:00 /usr/local/bin/containerd-shim-spin-v2 -namespace default -id ctr-spin-http-ts-example -address /run/containerd/containerd.sockCan you please help me getting it running in containerd?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels