Docker platform wasi/wasm is not working?

A basic command building a docker container with platform wasi/wasm does not work with the error -
Error exporting to image, operating system is not supported.
Similarly the example with the shim

docker run \
  --runtime=io.containerd.wasmedge.v1 \
  --platform=wasi/wasm \
  secondstate/rust-example-hello

is also giving the same error. The solution used here is to use the platform wasm. But the shim doesn’t support that.

I am running this on Ubuntu 22.04 with docker 26.1.0, containerd 1.6.28
Any solutions?

1 Like

Hi, do we have an update on this?
I am having the same issue, I can run the docker containers on the host architecture using the wasmtime shim.
When I attempt to run the container on the wasi/wasm platform, I receive
docker: operating system is not supported ( docker run --runtime=io.containerd.wasmtime.v1 --platform=wasi/wasm sangeetakakati/myimagename.
Seems like docker natively doesn’t support it, although docker desktop does.