deislabs / containerd-wasm-shims

containerd shims for running WebAssembly workloads in Kubernetes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

spin shim: "operating system is not supported" without docker-desktop engine.

FerrazArthur opened this issue · comments

I installed the spin shim from this repo but it doesnt work without docker-desktop engine. how can i build a image for a spin app that can still be used with runtime spin without docker desktop?

I have 2 images, one build with

$ docker buildx build -f <dockerfile> -t ferrazarthur/spin-test <dir>

and other with

$ docker buildx build --platform wasi/wasm32 -f <dockerfile> -t ferrazarthur/spin-test:wasi/wasm <dir>

Running image

$ docker container run -i --rm --name spin-testes-arch -p 3000:80 -v ./spin-logs:/log --runtime io.containerd.spin.v1 ferrazarthur/spin-test up --log-dir /logs

The same behaviour occurs with

$ docker container run -i --rm --name speed-wasm --platform wasi/wasm32 --runtime io.containerd.spin.v1 ferrazarthur/spin-test:wasi-wasm up --log-dir /logs

While with docker-desktop everything works as it should.

Expected behaviour

To properly run a spin up and keep a server open listening on port 3000

Actual behaviour

Container exits immediately after start, without executing spin up.

Modification made in Makefile

As i only wanted the spin shim, i changed the first line of Makefile from:

SHIMS := slight spin wws lunatic

to

SHIMS := spin.

SETUP

SYSTEM:

ARCH="x86_64"
NAME="Linux Mint"
VERSION="21 (Vanessa)"
ID_LIKE="ubuntu debian"
UBUNTU_CODENAME=jammy
/etc/docker/daemon.json
{
  "debug": true,
  "log-level": "debug",
  "features": {
    "containerd-snapshotter": true
  }
}
usr/local/bin
$ ls -l /usr/local/bin | grep containerd
-rwxr-xr-x 1 root              root               58866944 out 18 08:56 containerd-shim-spin-v1
lrwxrwxrwx 1 root              root                     29 out 17 14:30 containerd-shim-wasmedged-v1 -> ./containerd-shim-wasmedge-v1
-rwxr-xr-x 1 root              root              302380880 out 17 14:30 containerd-shim-wasmedge-v1
lrwxrwxrwx 1 root              root                     27 out 17 14:30 containerd-shim-wasmerd-v1 -> ./containerd-shim-wasmer-v1
-rwxr-xr-x 1 root              root              535063368 out 17 14:30 containerd-shim-wasmer-v1
lrwxrwxrwx 1 root              root                     29 out 17 14:30 containerd-shim-wasmtimed-v1 -> ./containerd-shim-wasmtime-v1
-rwxr-xr-x 1 root              root              389835168 out 17 14:30 containerd-shim-wasmtime-v1
lrwxrwxrwx 1 root              root                     29 out 17 14:30 containerd-wasmedged -> ./containerd-shim-wasmedge-v1
lrwxrwxrwx 1 root              root                     27 out 17 14:30 containerd-wasmerd -> ./containerd-shim-wasmer-v1
lrwxrwxrwx 1 root              root                     29 out 17 14:30 containerd-wasmtimed -> ./containerd-shim-wasmtime-v1

DOCKER:

Client: Docker Engine - Community
 Cloud integration: v1.0.35+desktop.5
 Version:           24.0.6
 API version:       1.43
 Go version:        go1.20.7
 Git commit:        ed223bc
 Built:             Mon Sep  4 12:31:44 2023
 OS/Arch:           linux/amd64
 Context:           default

Server: Docker Engine - Community
 Engine:
  Version:          24.0.6
  API version:      1.43 (minimum version 1.12)
  Go version:       go1.20.7
  Git commit:       1a79695
  Built:            Mon Sep  4 12:31:44 2023
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.6.24
  GitCommit:        61f9fd88f79f081d64d6fa3bb1a0dc71ec870523
 runc:
  Version:          1.1.9
  GitCommit:        v1.1.9-0-gccaecfc
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

SPIN:

spin 1.4.1 (e0bd911 2023-07-12)
also tried with spin 1.5.1 (8d4334e 2023-09-26)

RUST:

Default host: x86_64-unknown-linux-gnu
rustup home:  /home/graphicslesstower/.rustup

installed targets for active toolchain

wasm32-unknown-unknown
wasm32-wasi
x86_64-unknown-linux-gnu
x86_64-unknown-linux-musl

active toolchain

stable-x86_64-unknown-linux-gnu (default)
rustc 1.73.0 (cc66ad468 2023-10-03)

@jprendes are you familiar with docker CLI working with the wasm container?

It looks like dockerd isn't using the containerd snapshotter.

What do you get from docker info?
Did you restart dockerd after setting daemon.json?

Having the dockerd and containerd logs would be useful as well.

I did a systemctl restart to docker.service, docker.socket and containerd.

The output of docker info
$docker info
Client: Docker Engine - Community
 Version:    24.0.6
 Context:    default
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.11.2-desktop.5
    Path:     /usr/lib/docker/cli-plugins/docker-buildx
  compose: Docker Compose (Docker Inc.)
    Version:  v2.22.0-desktop.2
    Path:     /usr/lib/docker/cli-plugins/docker-compose
  dev: Docker Dev Environments (Docker Inc.)
    Version:  v0.1.0
    Path:     /usr/lib/docker/cli-plugins/docker-dev
  extension: Manages Docker extensions (Docker Inc.)
    Version:  v0.2.20
    Path:     /usr/lib/docker/cli-plugins/docker-extension
  init: Creates Docker-related starter files for your project (Docker Inc.)
    Version:  v0.1.0-beta.8
    Path:     /usr/lib/docker/cli-plugins/docker-init
  sbom: View the packaged-based Software Bill Of Materials (SBOM) for an image (Anchore Inc.)
    Version:  0.6.0
    Path:     /usr/lib/docker/cli-plugins/docker-sbom
  scan: Docker Scan (Docker Inc.)
    Version:  v0.26.0
    Path:     /usr/lib/docker/cli-plugins/docker-scan
  scout: Docker Scout (Docker Inc.)
    Version:  v1.0.7
    Path:     /usr/lib/docker/cli-plugins/docker-scout

Server:
 Containers: 2
  Running: 0
  Paused: 0
  Stopped: 2
 Images: 27
 Server Version: 24.0.6
 Storage Driver: overlayfs
  driver-type: io.containerd.snapshotter.v1
 Logging Driver: json-file
 Cgroup Driver: systemd
 Cgroup Version: 2
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: runc io.containerd.runc.v2
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 61f9fd88f79f081d64d6fa3bb1a0dc71ec870523
 runc version: v1.1.9-0-gccaecfc
 init version: de40ad0
 Security Options:
  apparmor
  seccomp
   Profile: builtin
  cgroupns
 Kernel Version: 5.15.0-76-generic
 Operating System: Linux Mint 21
 OSType: linux
 Architecture: x86_64
 CPUs: 12
 Total Memory: 15.43GiB
 Name: graphicslesstower-System-Product-Name
 ID: 5d3a7fed-7e15-4c33-be11-a170e8442863
 Docker Root Dir: /var/lib/docker
 Debug Mode: true
  File Descriptors: 22
  Goroutines: 37
  System Time: 2023-10-27T07:24:11.321949667-03:00
  EventsListeners: 0
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false
Docker.service startup
jornalctl -u docker.service -o short-monotonic --since "1 hour ago"
[   11.418081] graphicslesstower-System-Product-Name systemd[1]: Starting Docker Application Container Engine...
[   11.609886] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:19:12.727072989-03:00" level=info msg="Starting up"
[   11.613577] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:19:12.728280574-03:00" level=debug msg="Listener created for HTTP on fd ()"
[   11.613867] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:19:12.731246606-03:00" level=info msg="detected 127.0.0.53 nameserver, assuming systemd-resolved, so using resolv.conf: /run/systemd/resolve/resolv.c>
[   11.614552] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:19:12.731938778-03:00" level=debug msg="Golang's threads limit set to 112770"
[   11.664162] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:19:12.781559589-03:00" level=debug msg="metrics API listening on /var/run/docker/metrics.sock"
[   11.670703] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:19:12.788101081-03:00" level=debug msg="Using default logging driver json-file"
[   11.671013] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:19:12.788414121-03:00" level=debug msg="No quota support for local volumes in /var/lib/docker/volumes: Filesystem does not support, or has not enable>
[   11.671710] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:19:12.789105776-03:00" level=debug msg="processing event stream" module=libcontainerd namespace=plugins.moby
[   11.678095] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:19:12.795497731-03:00" level=info msg="Starting daemon with containerd snapshotter integration enabled"
[   11.678134] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:19:12.795510388-03:00" level=info msg="Loading containers: start."
[   11.678183] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:19:12.795584748-03:00" level=debug msg="processing event stream" module=libcontainerd namespace=moby
Docker.service logs during container run
docker container run -i --rm --name speed-wasm --platform wasi/wasm32 --runtime io.containerd.spin.v1 ferrazarthur/spin-test:wasi-wasm up --log-dir /logs 
[   12.314073] graphicslesstower-System-Product-Name systemd[1]: Started Docker Application Container Engine.
[   12.314375] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:19:13.431696217-03:00" level=info msg="API listen on /run/docker.sock"
[  279.409969] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:23:39.992642051-03:00" level=debug msg="Calling HEAD /_ping"
[  279.410443] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:23:39.993170562-03:00" level=debug msg="Calling GET /v1.43/version"
[  310.738335] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:24:11.321046228-03:00" level=debug msg="Calling HEAD /_ping"
[  310.738685] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:24:11.321335767-03:00" level=debug msg="Calling GET /v1.43/info"
[  661.838680] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:30:02.421405118-03:00" level=debug msg="Calling HEAD /_ping"
[  661.839169] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:30:02.421903662-03:00" level=debug msg="Calling POST /v1.43/containers/create?name=speed-wasm&platform=wasi%2Fwasm32"
[  661.839300] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:30:02.422024090-03:00" level=debug msg="form data: {\"AttachStderr\":true,\"AttachStdin\":true,\"AttachStdout\":true,\"Cmd\":[\"up\",\"--log-dir\",\">
[  661.857339] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:30:02.440065880-03:00" level=debug msg="container mounted via snapshotter: /var/lib/docker/rootfs/overlayfs/a70e84ac71bdcfcf1b30d6fc7b3645fb87047d379>
[  661.865919] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:30:02.448643690-03:00" level=debug msg="Calling POST /v1.43/containers/a70e84ac71bdcfcf1b30d6fc7b3645fb87047d379e46003350663c3f1f0ee98f/attach?stderr>
[  661.865995] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:30:02.448720254-03:00" level=debug msg="attach: stdin: begin"
[  661.866021] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:30:02.448724349-03:00" level=debug msg="attach: stdout: begin"
[  661.866047] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:30:02.448775395-03:00" level=debug msg="attach: stderr: begin"
[  661.866144] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:30:02.448880672-03:00" level=debug msg="Calling POST /v1.43/containers/a70e84ac71bdcfcf1b30d6fc7b3645fb87047d379e46003350663c3f1f0ee98f/wait?conditio>
[  661.866660] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:30:02.449391802-03:00" level=debug msg="Calling POST /v1.43/containers/a70e84ac71bdcfcf1b30d6fc7b3645fb87047d379e46003350663c3f1f0ee98f/start"
[  661.867085] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:30:02.449817191-03:00" level=debug msg="container mounted via snapshotter: /var/lib/docker/rootfs/overlayfs/a70e84ac71bdcfcf1b30d6fc7b3645fb87047d379>
[  661.867273] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:30:02.450010568-03:00" level=debug msg="Assigning addresses for endpoint speed-wasm's interface on network bridge"
[  661.867303] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:30:02.450025350-03:00" level=debug msg="RequestAddress(LocalDefault/172.17.0.0/16, <nil>, map[])"
[  661.867303] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:30:02.450041482-03:00" level=debug msg="Request address PoolID:172.17.0.0/16 Bits: 65536, Unselected: 65533, Sequence: (0xc0000000, 1)->(0x0, 2046)->>
[  661.875726] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:30:02.458455868-03:00" level=debug msg="Assigning addresses for endpoint speed-wasm's interface on network bridge"
[  661.882711] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:30:02.465428037-03:00" level=debug msg="Programming external connectivity on endpoint speed-wasm (09aa06ebc8854f662ebd6c02f1aec3f9499bb70fe7278376320>
[  661.885975] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:30:02.468703416-03:00" level=debug msg="DeleteConntrackEntries purged ipv4:0, ipv6:0"
[  661.885975] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:30:02.468720363-03:00" level=debug msg="DeleteConntrackEntriesByPort for udp ports purged ipv4:0, ipv6:0"
[  661.888112] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:30:02.470850530-03:00" level=debug msg="EnableService a70e84ac71bdcfcf1b30d6fc7b3645fb87047d379e46003350663c3f1f0ee98f START"
[  661.888112] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:30:02.470859528-03:00" level=debug msg="EnableService a70e84ac71bdcfcf1b30d6fc7b3645fb87047d379e46003350663c3f1f0ee98f DONE"
[  661.890563] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:30:02.473301628-03:00" level=debug msg="createSpec: cgroupsPath: system.slice:docker:a70e84ac71bdcfcf1b30d6fc7b3645fb87047d379e46003350663c3f1f0ee98f"
[  661.891083] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:30:02.473820664-03:00" level=debug msg="bundle dir created" bundle=/var/run/docker/containerd/a70e84ac71bdcfcf1b30d6fc7b3645fb87047d379e46003350663c3>
[  661.921212] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:30:02.503940777-03:00" level=debug msg=event module=libcontainerd namespace=moby topic=/tasks/create
[  662.013110] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:30:02.595098822-03:00" level=debug msg="sandbox set key processing took 65.80911ms for container a70e84ac71bdcfcf1b30d6fc7b3645fb87047d379e4600335066>
[  662.267289] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:30:02.849965673-03:00" level=debug msg="sandbox set key processing took 143.926671ms for container a70e84ac71bdcfcf1b30d6fc7b3645fb87047d379e46003350>
[  662.274964] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:30:02.857642242-03:00" level=debug msg=event module=libcontainerd namespace=moby topic=/tasks/start
[  662.622071] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:30:03.204801417-03:00" level=debug msg=event module=libcontainerd namespace=moby topic=/tasks/exit
[  662.622993] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:30:03.205728837-03:00" level=debug msg=event module=libcontainerd namespace=moby topic=/tasks/delete
[  662.623026] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:30:03.205743662-03:00" level=info msg="ignoring event" container=a70e84ac71bdcfcf1b30d6fc7b3645fb87047d379e46003350663c3f1f0ee98f module=libcontainer>
[  662.625211] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:30:03.207947959-03:00" level=debug msg="attach: stdout: end"
[  662.625258] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:30:03.207953522-03:00" level=debug msg="attach: stderr: end"
[  662.625258] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:30:03.207961802-03:00" level=debug msg="attach: stdin: end"
[  662.625258] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:30:03.207980453-03:00" level=debug msg="attach done"
[  662.625826] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:30:03.208564812-03:00" level=warning msg="failed to close stdin: task a70e84ac71bdcfcf1b30d6fc7b3645fb87047d379e46003350663c3f1f0ee98f not found: not>
[  662.627958] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:30:03.210696055-03:00" level=debug msg="Revoking external connectivity on endpoint speed-wasm (09aa06ebc8854f662ebd6c02f1aec3f9499bb70fe7278376320c6d>
[  662.630769] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:30:03.213509520-03:00" level=debug msg="DeleteConntrackEntries purged ipv4:0, ipv6:0"
[  662.630801] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:30:03.213517104-03:00" level=debug msg="DeleteConntrackEntriesByPort for udp ports purged ipv4:0, ipv6:0"
[  662.835227] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:30:03.417907456-03:00" level=debug msg="Releasing addresses for endpoint speed-wasm's interface on network bridge"
[  662.835227] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:30:03.417968417-03:00" level=debug msg="ReleaseAddress(LocalDefault/172.17.0.0/16, 172.17.0.2)"
[  662.835622] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:30:03.418022743-03:00" level=debug msg="Released address Address:172.17.0.2 Sequence:Bits: 65536, Unselected: 65533, Sequence: (0xc0000000, 1)->(0x0,>
[  662.904148] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:30:03.486657794-03:00" level=debug msg="Closing buffered stdin pipe"
Another run, without '-i' flag
[ 1123.083427] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:37:43.666149726-03:00" level=debug msg="Calling HEAD /_ping"
[ 1123.083957] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:37:43.666692417-03:00" level=debug msg="Calling POST /v1.43/containers/create?name=speed-wasm&platform=wasi%2Fwasm32"
[ 1123.084082] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:37:43.666806314-03:00" level=debug msg="form data: {\"AttachStderr\":true,\"AttachStdin\":false,\"AttachStdout\":true,\"Cmd\":[\"up\",\"--log-dir\",\>
[ 1123.099206] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:37:43.681932204-03:00" level=debug msg="container mounted via snapshotter: /var/lib/docker/rootfs/overlayfs/c2a85db34ee0a9003f2b3ba647a8d6af54430711c>
[ 1123.107716] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:37:43.690449360-03:00" level=debug msg="Calling POST /v1.43/containers/c2a85db34ee0a9003f2b3ba647a8d6af54430711c84e0ce981fb8926a50981f2/attach?stderr>
[ 1123.107852] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:37:43.690507863-03:00" level=debug msg="attach: stderr: begin"
[ 1123.107852] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:37:43.690514243-03:00" level=debug msg="attach: stdout: begin"
[ 1123.107925] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:37:43.690660526-03:00" level=debug msg="Calling POST /v1.43/containers/c2a85db34ee0a9003f2b3ba647a8d6af54430711c84e0ce981fb8926a50981f2/wait?conditio>
[ 1123.108179] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:37:43.690906309-03:00" level=debug msg="Calling POST /v1.43/containers/c2a85db34ee0a9003f2b3ba647a8d6af54430711c84e0ce981fb8926a50981f2/start"
[ 1123.108627] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:37:43.691358212-03:00" level=debug msg="container mounted via snapshotter: /var/lib/docker/rootfs/overlayfs/c2a85db34ee0a9003f2b3ba647a8d6af54430711c>
[ 1123.108880] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:37:43.691614850-03:00" level=debug msg="Assigning addresses for endpoint speed-wasm's interface on network bridge"
[ 1123.108920] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:37:43.691632265-03:00" level=debug msg="RequestAddress(LocalDefault/172.17.0.0/16, <nil>, map[])"
[ 1123.108920] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:37:43.691648072-03:00" level=debug msg="Request address PoolID:172.17.0.0/16 Bits: 65536, Unselected: 65533, Sequence: (0xc0000000, 1)->(0x0, 2046)->>
[ 1123.114048] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:37:43.696776016-03:00" level=debug msg="Assigning addresses for endpoint speed-wasm's interface on network bridge"
[ 1123.120810] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:37:43.703523766-03:00" level=debug msg="Programming external connectivity on endpoint speed-wasm (76e5536a05afa64a120797824e41273a23df9b3684831f4eadb>
[ 1123.123997] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:37:43.706493849-03:00" level=debug msg="DeleteConntrackEntries purged ipv4:0, ipv6:0"
[ 1123.123997] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:37:43.706522249-03:00" level=debug msg="DeleteConntrackEntriesByPort for udp ports purged ipv4:0, ipv6:0"
[ 1123.126002] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:37:43.708728029-03:00" level=debug msg="EnableService c2a85db34ee0a9003f2b3ba647a8d6af54430711c84e0ce981fb8926a50981f2 START"
[ 1123.126002] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:37:43.708747639-03:00" level=debug msg="EnableService c2a85db34ee0a9003f2b3ba647a8d6af54430711c84e0ce981fb8926a50981f2 DONE"
[ 1123.128408] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:37:43.711144501-03:00" level=debug msg="createSpec: cgroupsPath: system.slice:docker:c2a85db34ee0a9003f2b3ba647a8d6af54430711c84e0ce981fb8926a50981f2"
[ 1123.128565] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:37:43.711302317-03:00" level=debug msg="bundle dir created" bundle=/var/run/docker/containerd/c2a85db34ee0a9003f2b3ba647a8d6af54430711c84e0ce981fb892>
[ 1123.140491] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:37:43.723219002-03:00" level=debug msg=event module=libcontainerd namespace=moby topic=/tasks/create
[ 1123.239957] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:37:43.822636191-03:00" level=debug msg="sandbox set key processing took 78.63668ms for container c2a85db34ee0a9003f2b3ba647a8d6af54430711c84e0ce981fb>
[ 1123.486908] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:37:44.069591119-03:00" level=debug msg="sandbox set key processing took 130.569988ms for container c2a85db34ee0a9003f2b3ba647a8d6af54430711c84e0ce981>
[ 1123.494675] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:37:44.077341533-03:00" level=debug msg=event module=libcontainerd namespace=moby topic=/tasks/start
[ 1123.838250] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:37:44.420980227-03:00" level=debug msg=event module=libcontainerd namespace=moby topic=/tasks/exit
[ 1123.839255] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:37:44.421726371-03:00" level=debug msg=event module=libcontainerd namespace=moby topic=/tasks/delete
[ 1123.839255] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:37:44.421740668-03:00" level=info msg="ignoring event" container=c2a85db34ee0a9003f2b3ba647a8d6af54430711c84e0ce981fb8926a50981f2 module=libcontainer>
[ 1123.840882] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:37:44.423621023-03:00" level=debug msg="attach: stdout: end"
[ 1123.840927] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:37:44.423621292-03:00" level=debug msg="attach: stderr: end"
[ 1123.840927] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:37:44.423639926-03:00" level=debug msg="attach done"
[ 1123.846579] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:37:44.429316259-03:00" level=debug msg="Revoking external connectivity on endpoint speed-wasm (76e5536a05afa64a120797824e41273a23df9b3684831f4eadb246>
[ 1123.849242] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:37:44.431983339-03:00" level=debug msg="DeleteConntrackEntries purged ipv4:0, ipv6:0"
[ 1123.849272] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:37:44.431990761-03:00" level=debug msg="DeleteConntrackEntriesByPort for udp ports purged ipv4:0, ipv6:0"
[ 1124.063120] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:37:44.645781591-03:00" level=debug msg="Releasing addresses for endpoint speed-wasm's interface on network bridge"
[ 1124.063120] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:37:44.645843100-03:00" level=debug msg="ReleaseAddress(LocalDefault/172.17.0.0/16, 172.17.0.2)"
[ 1124.063561] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:37:44.645906996-03:00" level=debug msg="Released address Address:172.17.0.2 Sequence:Bits: 65536, Unselected: 65533, Sequence: (0xc0000000, 1)->(0x0,>
[ 1128.030834] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:37:48.613552141-03:00" level=debug msg="Calling HEAD /_ping"
[ 1128.031053] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:37:48.613721244-03:00" level=debug msg="Calling GET /v1.43/containers/json"
[ 1131.958621] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:37:52.541338117-03:00" level=debug msg="Calling HEAD /_ping"
[ 1131.958935] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:37:52.541499979-03:00" level=debug msg="Calling GET /v1.43/containers/json?all=1"
[ 1131.964194] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:37:52.546928520-03:00" level=debug msg="encountered unknown type application/vnd.in-toto+json; children may not be fetched"
[ 1131.967214] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T07:37:52.549947469-03:00" level=debug msg="encountered unknown type application/vnd.in-toto+json; children may not be fetched"
Containerd complete log
journalctl -u containerd.service -o short-monotonic --since "1 hour ago"
[    5.385377] graphicslesstower-System-Product-Name systemd[1]: Starting containerd container runtime...
[    5.493842] graphicslesstower-System-Product-Name containerd[946]: time="2023-10-27T07:19:06-03:00" level=warning msg="containerd config version `1` has been deprecated and will be removed in containerd v2.0, please switch to version >
[    5.495062] graphicslesstower-System-Product-Name containerd[946]: time="2023-10-27T07:19:06.612459118-03:00" level=info msg="starting containerd" revision=61f9fd88f79f081d64d6fa3bb1a0dc71ec870523 version=1.6.24
[    5.505743] graphicslesstower-System-Product-Name containerd[946]: time="2023-10-27T07:19:06.623131728-03:00" level=info msg="loading plugin \"io.containerd.content.v1.content\"..." type=io.containerd.content.v1
[    5.505856] graphicslesstower-System-Product-Name containerd[946]: time="2023-10-27T07:19:06.623255717-03:00" level=info msg="loading plugin \"io.containerd.snapshotter.v1.aufs\"..." type=io.containerd.snapshotter.v1
[    5.506784] graphicslesstower-System-Product-Name containerd[946]: time="2023-10-27T07:19:06.624178973-03:00" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.aufs\"..." error="aufs is not supported (modprobe aufs fa>
[    5.506834] graphicslesstower-System-Product-Name containerd[946]: time="2023-10-27T07:19:06.624195448-03:00" level=info msg="loading plugin \"io.containerd.snapshotter.v1.btrfs\"..." type=io.containerd.snapshotter.v1
[    5.506917] graphicslesstower-System-Product-Name containerd[946]: time="2023-10-27T07:19:06.624315508-03:00" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.btrfs\"..." error="path /var/lib/containerd/io.containerd>
[    5.506967] graphicslesstower-System-Product-Name containerd[946]: time="2023-10-27T07:19:06.624328648-03:00" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1
[    5.506967] graphicslesstower-System-Product-Name containerd[946]: time="2023-10-27T07:19:06.624342882-03:00" level=warning msg="failed to load plugin io.containerd.snapshotter.v1.devmapper" error="devmapper not configured"
[    5.506967] graphicslesstower-System-Product-Name containerd[946]: time="2023-10-27T07:19:06.624354223-03:00" level=info msg="loading plugin \"io.containerd.snapshotter.v1.native\"..." type=io.containerd.snapshotter.v1
[    5.507078] graphicslesstower-System-Product-Name containerd[946]: time="2023-10-27T07:19:06.624478733-03:00" level=info msg="loading plugin \"io.containerd.snapshotter.v1.overlayfs\"..." type=io.containerd.snapshotter.v1
[    5.507285] graphicslesstower-System-Product-Name containerd[946]: time="2023-10-27T07:19:06.624686125-03:00" level=info msg="loading plugin \"io.containerd.snapshotter.v1.zfs\"..." type=io.containerd.snapshotter.v1
[    5.507783] graphicslesstower-System-Product-Name containerd[946]: time="2023-10-27T07:19:06.625181567-03:00" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.zfs\"..." error="path /var/lib/containerd/io.containerd.s>
[    5.508033] graphicslesstower-System-Product-Name containerd[946]: time="2023-10-27T07:19:06.625194340-03:00" level=info msg="loading plugin \"io.containerd.metadata.v1.bolt\"..." type=io.containerd.metadata.v1
[    5.508033] graphicslesstower-System-Product-Name containerd[946]: time="2023-10-27T07:19:06.625223794-03:00" level=warning msg="could not use snapshotter devmapper in metadata plugin" error="devmapper not configured"
[    5.508033] graphicslesstower-System-Product-Name containerd[946]: time="2023-10-27T07:19:06.625235787-03:00" level=info msg="metadata content store policy set" policy=shared
[    5.508735] graphicslesstower-System-Product-Name containerd[946]: time="2023-10-27T07:19:06.626133314-03:00" level=info msg="loading plugin \"io.containerd.differ.v1.walking\"..." type=io.containerd.differ.v1
[    5.508781] graphicslesstower-System-Product-Name containerd[946]: time="2023-10-27T07:19:06.626151186-03:00" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1
[    5.508781] graphicslesstower-System-Product-Name containerd[946]: time="2023-10-27T07:19:06.626164751-03:00" level=info msg="loading plugin \"io.containerd.gc.v1.scheduler\"..." type=io.containerd.gc.v1
[    5.509003] graphicslesstower-System-Product-Name containerd[946]: time="2023-10-27T07:19:06.626402616-03:00" level=info msg="loading plugin \"io.containerd.service.v1.introspection-service\"..." type=io.containerd.service.v1
[    5.509055] graphicslesstower-System-Product-Name containerd[946]: time="2023-10-27T07:19:06.626418509-03:00" level=info msg="loading plugin \"io.containerd.service.v1.containers-service\"..." type=io.containerd.service.v1
[    5.509055] graphicslesstower-System-Product-Name containerd[946]: time="2023-10-27T07:19:06.626432210-03:00" level=info msg="loading plugin \"io.containerd.service.v1.content-service\"..." type=io.containerd.service.v1
[    5.509055] graphicslesstower-System-Product-Name containerd[946]: time="2023-10-27T07:19:06.626446550-03:00" level=info msg="loading plugin \"io.containerd.service.v1.diff-service\"..." type=io.containerd.service.v1
[    5.509055] graphicslesstower-System-Product-Name containerd[946]: time="2023-10-27T07:19:06.626461592-03:00" level=info msg="loading plugin \"io.containerd.service.v1.images-service\"..." type=io.containerd.service.v1
[    5.509198] graphicslesstower-System-Product-Name containerd[946]: time="2023-10-27T07:19:06.626474454-03:00" level=info msg="loading plugin \"io.containerd.service.v1.leases-service\"..." type=io.containerd.service.v1
[    5.509198] graphicslesstower-System-Product-Name containerd[946]: time="2023-10-27T07:19:06.626490356-03:00" level=info msg="loading plugin \"io.containerd.service.v1.namespaces-service\"..." type=io.containerd.service.v1
[    5.509198] graphicslesstower-System-Product-Name containerd[946]: time="2023-10-27T07:19:06.626504603-03:00" level=info msg="loading plugin \"io.containerd.service.v1.snapshots-service\"..." type=io.containerd.service.v1
[    5.509198] graphicslesstower-System-Product-Name containerd[946]: time="2023-10-27T07:19:06.626516646-03:00" level=info msg="loading plugin \"io.containerd.runtime.v1.linux\"..." type=io.containerd.runtime.v1
[    5.509198] graphicslesstower-System-Product-Name containerd[946]: time="2023-10-27T07:19:06.626561248-03:00" level=info msg="loading plugin \"io.containerd.runtime.v2.task\"..." type=io.containerd.runtime.v2
[    5.509198] graphicslesstower-System-Product-Name containerd[946]: time="2023-10-27T07:19:06.626606479-03:00" level=info msg="loading plugin \"io.containerd.monitor.v1.cgroups\"..." type=io.containerd.monitor.v1
[    5.509639] graphicslesstower-System-Product-Name containerd[946]: time="2023-10-27T07:19:06.627039334-03:00" level=info msg="loading plugin \"io.containerd.service.v1.tasks-service\"..." type=io.containerd.service.v1
[    5.509830] graphicslesstower-System-Product-Name containerd[946]: time="2023-10-27T07:19:06.627066594-03:00" level=info msg="loading plugin \"io.containerd.grpc.v1.introspection\"..." type=io.containerd.grpc.v1
[    5.509830] graphicslesstower-System-Product-Name containerd[946]: time="2023-10-27T07:19:06.627082941-03:00" level=info msg="loading plugin \"io.containerd.internal.v1.restart\"..." type=io.containerd.internal.v1
[    5.510078] graphicslesstower-System-Product-Name containerd[946]: time="2023-10-27T07:19:06.627386785-03:00" level=info msg="loading plugin \"io.containerd.grpc.v1.containers\"..." type=io.containerd.grpc.v1
[    5.510078] graphicslesstower-System-Product-Name containerd[946]: time="2023-10-27T07:19:06.627400287-03:00" level=info msg="loading plugin \"io.containerd.grpc.v1.content\"..." type=io.containerd.grpc.v1
[    5.510078] graphicslesstower-System-Product-Name containerd[946]: time="2023-10-27T07:19:06.627409675-03:00" level=info msg="loading plugin \"io.containerd.grpc.v1.diff\"..." type=io.containerd.grpc.v1
[    5.510078] graphicslesstower-System-Product-Name containerd[946]: time="2023-10-27T07:19:06.627416841-03:00" level=info msg="loading plugin \"io.containerd.grpc.v1.events\"..." type=io.containerd.grpc.v1
[    5.510078] graphicslesstower-System-Product-Name containerd[946]: time="2023-10-27T07:19:06.627424074-03:00" level=info msg="loading plugin \"io.containerd.grpc.v1.healthcheck\"..." type=io.containerd.grpc.v1
[    5.510078] graphicslesstower-System-Product-Name containerd[946]: time="2023-10-27T07:19:06.627433501-03:00" level=info msg="loading plugin \"io.containerd.grpc.v1.images\"..." type=io.containerd.grpc.v1
[    5.510078] graphicslesstower-System-Product-Name containerd[946]: time="2023-10-27T07:19:06.627440759-03:00" level=info msg="loading plugin \"io.containerd.grpc.v1.leases\"..." type=io.containerd.grpc.v1
[    5.510078] graphicslesstower-System-Product-Name containerd[946]: time="2023-10-27T07:19:06.627448001-03:00" level=info msg="loading plugin \"io.containerd.grpc.v1.namespaces\"..." type=io.containerd.grpc.v1
[    5.510078] graphicslesstower-System-Product-Name containerd[946]: time="2023-10-27T07:19:06.627459773-03:00" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1
[    5.510394] graphicslesstower-System-Product-Name containerd[946]: time="2023-10-27T07:19:06.627602707-03:00" level=info msg="loading plugin \"io.containerd.grpc.v1.snapshots\"..." type=io.containerd.grpc.v1
[    5.510394] graphicslesstower-System-Product-Name containerd[946]: time="2023-10-27T07:19:06.627617869-03:00" level=info msg="loading plugin \"io.containerd.grpc.v1.tasks\"..." type=io.containerd.grpc.v1
[    5.510394] graphicslesstower-System-Product-Name containerd[946]: time="2023-10-27T07:19:06.627632427-03:00" level=info msg="loading plugin \"io.containerd.grpc.v1.version\"..." type=io.containerd.grpc.v1
[    5.510394] graphicslesstower-System-Product-Name containerd[946]: time="2023-10-27T07:19:06.627644165-03:00" level=info msg="loading plugin \"io.containerd.tracing.processor.v1.otlp\"..." type=io.containerd.tracing.processor.v1
[    5.510394] graphicslesstower-System-Product-Name containerd[946]: time="2023-10-27T07:19:06.627659178-03:00" level=info msg="skip loading plugin \"io.containerd.tracing.processor.v1.otlp\"..." error="no OpenTelemetry endpoint: skip p>
[    5.510394] graphicslesstower-System-Product-Name containerd[946]: time="2023-10-27T07:19:06.627671299-03:00" level=info msg="loading plugin \"io.containerd.internal.v1.tracing\"..." type=io.containerd.internal.v1
[    5.510394] graphicslesstower-System-Product-Name containerd[946]: time="2023-10-27T07:19:06.627688986-03:00" level=error msg="failed to initialize a tracing processor \"otlp\"" error="no OpenTelemetry endpoint: skip plugin"
[    5.510912] graphicslesstower-System-Product-Name containerd[946]: time="2023-10-27T07:19:06.628313150-03:00" level=info msg=serving... address=/run/containerd/containerd.sock.ttrpc
[    5.510953] graphicslesstower-System-Product-Name containerd[946]: time="2023-10-27T07:19:06.628345234-03:00" level=info msg=serving... address=/run/containerd/containerd.sock
[    5.510991] graphicslesstower-System-Product-Name containerd[946]: time="2023-10-27T07:19:06.628391780-03:00" level=info msg="containerd successfully booted in 0.017628s"
[    5.511045] graphicslesstower-System-Product-Name systemd[1]: Started containerd container runtime.
[  661.916049] graphicslesstower-System-Product-Name containerd[946]: [INFO] server listen started
[  661.916049] graphicslesstower-System-Product-Name containerd[946]: [INFO] server started
[  661.916049] graphicslesstower-System-Product-Name containerd[946]: [INFO] Shim successfully started, waiting for exit signal...
[  662.021343] graphicslesstower-System-Product-Name containerd[946]: [INFO] starting instance: a70e84ac71bdcfcf1b30d6fc7b3645fb87047d379e46003350663c3f1f0ee98f
[  662.027651] graphicslesstower-System-Product-Name containerd[946]: [INFO] cgroup manager V2 will be used
[  662.028365] graphicslesstower-System-Product-Name containerd[946]: [WARN] Controller rdma is not yet implemented.
[  662.028365] graphicslesstower-System-Product-Name containerd[946]: [WARN] Controller misc is not yet implemented.
[  662.057013] graphicslesstower-System-Product-Name containerd[946]: [WARN] Controller rdma is not yet implemented.
[  662.057013] graphicslesstower-System-Product-Name containerd[946]: [WARN] Controller misc is not yet implemented.
[  662.063656] graphicslesstower-System-Product-Name containerd[946]: [WARN] seccomp not available, unable to enforce no_new_privileges!
[  662.064214] graphicslesstower-System-Product-Name containerd[946]: [WARN] intermediate process already reaped
[  662.274148] graphicslesstower-System-Product-Name containerd[946]: [INFO] waiting for instance: a70e84ac71bdcfcf1b30d6fc7b3645fb87047d379e46003350663c3f1f0ee98f
[  662.274418] graphicslesstower-System-Product-Name containerd[946]: [INFO] executing spin container
[  662.279813] graphicslesstower-System-Product-Name containerd[946]: [INFO]  >>> building spin application
[  662.283245] graphicslesstower-System-Product-Name containerd[946]: [INFO]  >>> building spin trigger Http(HttpTriggerConfiguration { base: "/" })
[  662.617750] graphicslesstower-System-Product-Name containerd[946]: [INFO]  >>> server shut down due to error: failed to build spin trigger
[  662.622707] graphicslesstower-System-Product-Name containerd[946]: [INFO] deleting instance: a70e84ac71bdcfcf1b30d6fc7b3645fb87047d379e46003350663c3f1f0ee98f
[  662.622778] graphicslesstower-System-Product-Name containerd[946]: [INFO] cgroup manager V2 will be used
[  662.622932] graphicslesstower-System-Product-Name containerd[946]: [INFO] Shutting down shim instance
[  662.622932] graphicslesstower-System-Product-Name containerd[946]: [INFO] close monitor
[  662.623057] graphicslesstower-System-Product-Name containerd[946]: time="2023-10-27T07:30:03.205737693-03:00" level=info msg="shim disconnected" id=a70e84ac71bdcfcf1b30d6fc7b3645fb87047d379e46003350663c3f1f0ee98f
[  662.623057] graphicslesstower-System-Product-Name containerd[946]: time="2023-10-27T07:30:03.205785991-03:00" level=warning msg="cleaning up after shim disconnected" id=a70e84ac71bdcfcf1b30d6fc7b3645fb87047d379e46003350663c3f1f0ee98f >
[  662.623057] graphicslesstower-System-Product-Name containerd[946]: time="2023-10-27T07:30:03.205795323-03:00" level=info msg="cleaning up dead shim"
[  662.623123] graphicslesstower-System-Product-Name containerd[946]: [ERROR] listener accept got Custom { kind: Other, error: "listener shutdown for quit flag" }
[  662.623123] graphicslesstower-System-Product-Name containerd[946]: [INFO] ttrpc server listener stopped
[  662.623123] graphicslesstower-System-Product-Name containerd[946]: [INFO] listener thread stopped
[  662.623123] graphicslesstower-System-Product-Name containerd[946]: [INFO] begin to shutdown connection
[  662.623123] graphicslesstower-System-Product-Name containerd[946]: [INFO] connections closed
[  662.623123] graphicslesstower-System-Product-Name containerd[946]: [INFO] reaper thread exited
[  662.623123] graphicslesstower-System-Product-Name containerd[946]: [INFO] reaper thread stopped
[ 1123.138565] graphicslesstower-System-Product-Name containerd[946]: [INFO] server listen started
[ 1123.138565] graphicslesstower-System-Product-Name containerd[946]: [INFO] server started
[ 1123.138565] graphicslesstower-System-Product-Name containerd[946]: [INFO] Shim successfully started, waiting for exit signal...
[ 1123.248254] graphicslesstower-System-Product-Name containerd[946]: [INFO] starting instance: c2a85db34ee0a9003f2b3ba647a8d6af54430711c84e0ce981fb8926a50981f2
[ 1123.250430] graphicslesstower-System-Product-Name containerd[946]: [INFO] cgroup manager V2 will be used
[ 1123.250640] graphicslesstower-System-Product-Name containerd[946]: [WARN] Controller rdma is not yet implemented.
[ 1123.250640] graphicslesstower-System-Product-Name containerd[946]: [WARN] Controller misc is not yet implemented.
[ 1123.288981] graphicslesstower-System-Product-Name containerd[946]: [WARN] Controller rdma is not yet implemented.
[ 1123.288981] graphicslesstower-System-Product-Name containerd[946]: [WARN] Controller misc is not yet implemented.
[ 1123.295172] graphicslesstower-System-Product-Name containerd[946]: [WARN] seccomp not available, unable to enforce no_new_privileges!
[ 1123.295667] graphicslesstower-System-Product-Name containerd[946]: [WARN] intermediate process already reaped
[ 1123.493603] graphicslesstower-System-Product-Name containerd[946]: [INFO] executing spin container
[ 1123.493764] graphicslesstower-System-Product-Name containerd[946]: [INFO] waiting for instance: c2a85db34ee0a9003f2b3ba647a8d6af54430711c84e0ce981fb8926a50981f2
[ 1123.495857] graphicslesstower-System-Product-Name containerd[946]: [INFO]  >>> building spin application
[ 1123.496935] graphicslesstower-System-Product-Name containerd[946]: [INFO]  >>> building spin trigger Http(HttpTriggerConfiguration { base: "/" })
[ 1123.833927] graphicslesstower-System-Product-Name containerd[946]: [INFO]  >>> server shut down due to error: failed to build spin trigger
[ 1123.838723] graphicslesstower-System-Product-Name containerd[946]: [INFO] deleting instance: c2a85db34ee0a9003f2b3ba647a8d6af54430711c84e0ce981fb8926a50981f2
[ 1123.838785] graphicslesstower-System-Product-Name containerd[946]: [INFO] cgroup manager V2 will be used
[ 1123.838952] graphicslesstower-System-Product-Name containerd[946]: [INFO] Shutting down shim instance
[ 1123.838952] graphicslesstower-System-Product-Name containerd[946]: [INFO] close monitor
[ 1123.838952] graphicslesstower-System-Product-Name containerd[946]: [ERROR] listener accept got Custom { kind: Other, error: "listener shutdown for quit flag" }
[ 1123.838952] graphicslesstower-System-Product-Name containerd[946]: [INFO] ttrpc server listener stopped
[ 1123.839105] graphicslesstower-System-Product-Name containerd[946]: [INFO] listener thread stopped
[ 1123.839105] graphicslesstower-System-Product-Name containerd[946]: [INFO] begin to shutdown connection
[ 1123.839105] graphicslesstower-System-Product-Name containerd[946]: [INFOtime="2023-10-27T07:37:44.421701780-03:00" level=info msg="shim disconnected" id=c2a85db34ee0a9003f2b3ba647a8d6af54430711c84e0ce981fb8926a50981f2
[ 1123.839105] graphicslesstower-System-Product-Name containerd[946]: time="2023-10-27T07:37:44.421758340-03:00" level=warning msg="cleaning up after shim disconnected" id=c2a85db34ee0a9003f2b3ba647a8d6af54430711c84e0ce981fb8926a50981f2 >
[ 1123.839105] graphicslesstower-System-Product-Name containerd[946]: time="2023-10-27T07:37:44.421770430-03:00" level=info msg="cleaning up dead shim"
[ 1123.839105] graphicslesstower-System-Product-Name containerd[946]: ] connections closed
[ 1123.839105] graphicslesstower-System-Product-Name containerd[946]: [INFO] reaper thread exited
[ 1123.839105] graphicslesstower-System-Product-Name containerd[946]: [INFO] reaper thread stopped

I tired docker container run -i --rm --name speed-wasm --platform wasi/wasm32 --runtime io.containerd.spin.v1 ferrazarthur/spin-test:wasi-wasm up --log-dir /logs and it works fine for me on Docker Engine (i.e., no Docker Desktop).

I see on the containerd logs the following error:

[INFO]  >>> building spin application
[INFO]  >>> building spin trigger Http(HttpTriggerConfiguration { base: "/" })
[INFO]  >>> server shut down due to error: failed to build spin trigger

Because of that message I would think that there's some issue with spin's toml file in the image.
But then I wouldn't expect it to run on Docker Desktop either.
And given the containerd logs, I wouldn't expect the operating system is not supported error either.
It is runing the shim after all. Is that message still acurrate?
Could you paste the full error message?

One caveat is that Docker Desktop's image store is different from Docker Engine's store, so an image with the same name (tag) might actually be a completely different image.
Would it be possible that the Docker Engine image for ferrazarthur/spin-test:wasi-wasm is an old out of date image?

What do you get from running

$ docker inspect ferrazarthur/spin-test:wasi-wasm --format='{{ .Id }}'
sha256:3be8fe0f10ceff950ca2b1f9fc369e1e375bbad6f7d819bcd8ea23abdb76923c

The operational system's error was solved with enabling containerd's snapshotter. I was hopping the issue's edit history was ignored, because i did some new tests and research and thats reflected in the latest version of the issue.

(i've updated containerd's log in previous comment to assert the code block format is displayed correctly)

Also the output bellow is the same, either on docker-desktop engine or not.

$ docker inspect ferrazarthur/spin-test:wasi-wasm --format='{{ .Id }}'
sha256:3be8fe0f10ceff950ca2b1f9fc369e1e375bbad6f7d819bcd8ea23abdb76923c

I did get the log from docker.service now that it is running desktop engine and the container has run as expected. Interestingly, containerd isnt envolved with docker desktop engine, as it has no log info.

Docker.service log
$ journalctl -u docker.service -o short-monotonic --since "1 hour ago"
[ 6016.662402] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T08:59:17.245126253-03:00" level=debug msg="Calling HEAD /_ping"
[ 6016.662652] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T08:59:17.245314451-03:00" level=debug msg="Calling GET /v1.43/containers/ferrazarthur/spin-test:wasi-wasm/json"
[ 6016.662807] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T08:59:17.245542312-03:00" level=debug msg="Calling GET /v1.43/images/ferrazarthur/spin-test:wasi-wasm/json"
[ 6039.481139] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T08:59:40.063850789-03:00" level=debug msg="Calling HEAD /_ping"
[ 6039.483252] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T08:59:40.064274778-03:00" level=debug msg="Calling POST /grpc"
[ 6046.502295] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T08:59:47.084998854-03:00" level=debug msg="Calling HEAD /_ping"
[ 6046.502559] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T08:59:47.085260382-03:00" level=debug msg="Calling GET /v1.43/version"
[ 6046.512087] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T08:59:47.094788915-03:00" level=debug msg="Calling POST /grpc"
[ 6046.532734] graphicslesstower-System-Product-Name dockerd[1471]: time="2023-10-27T08:59:47.115450463-03:00" level=debug msg="Calling POST /grpc"
Containerd.service log
$ journalctl -u containerd.service -o short-monotonic --since "1 hour ago"
-- No entries --

Could you try running the example from this repo?

docker run -i --rm --name speed-wasm -p 3000:80 --platform wasi/wasm32 --runtime io.containerd.spin.v1 ghcr.io/deislabs/containerd-wasm-shims/examples/spin-rust-hello:v0.9.1 /

What does it output?

it works as intended!

$ curl curl 127.0.0.1:3000/hello
Hello world from Spin!

So it's something with the way i am building the image or configuring the spin?

I tried to mimic the final stage in this Dockerfile, but the command

docker container run --rm -i -p 3000:80 --platform wasi/wasm --runtime io.containerd.spin.v1 ghcr.io/deislabs/containerd-wasm-shims/examples/spin-rust-hello:v0.9.1 /

works, while the command bellow doesnt work(start and exit with no log, no error msg).

docker container run --rm -i -p 3000:80 --platform wasi/wasm --runtime io.containerd.spin.v1 ferrazarthur/spin-test:wasi-wasm /

the build command was using docker desktop engine:

docker buildx build --platform wasi/wasm -t ferrazarthur/spin-test:wasi-wasm .
The Dockerfile
FROM scratch

COPY spin_test/hello/hello.wasm /hello/hello.wasm

COPY spin_test/echo/target/echo.wasm /echo/target/echo.wasm

COPY spin_test/spin.toml /spin.toml
The spin.toml
spin_manifest_version = "1"
authors = ["Arthur Ferraz <arthursnc@gmail.com>"]
description = "hello world from wasm!"
name = "hello"
trigger = { type = "http", base = "/" }
version = "0.1.0"

[[component]]
id = "hello"
source = "hello/hello.wasm"

[component.trigger]
route = "/hello"
executor = { type = "wagi" }

[[component]]
id = "echo"
source = "echo/target/echo.wasm"

[component.trigger]
route = "/echo"
The hello folder

the hello.wasm is a wasmsdk object build from the c code:

#include <stdio.h>
#include <stdlib.h>

int main() {
    printf("Content-Type: text/plain\n\n");
    printf("Hello, World\n");
    printf("This is a web server!\n");
    printf("My name is arhtuhrr\n");
}

Dont think it matters, but i also have the modules.toml in the folder hello

[[module]]
module = "hello.wasm"
route = "/"
The echo folder

is the template from spin-js-sdk

## HTTP-JS template

This is a simple template to get started with spin-js-sdk.

The src index.js is as follows

const encoder = new TextEncoder()

export async function handleRequest(request) {

    return {
        status: 200,
        headers: { "foo": "bar" },
        body: request.body,
    }
}