- Docker desktop is installed
- ContainerD images for Docker desktop is enabled
- Open Docker desktop
- Navigate to docker settings
- Navigate to "Features in development"
- Select "Use containerd for pulling and storing images"
- Click apply and restart
Make sure that if you open the dockerfile, you check that it has been saved using LF (Line Feed) and not CRLF (Carriage Return Line Feed). For VSCode, this can be seen and changed through the status bar
git clone https://github.com/nslebruh/wasm-docker-test.git
cd ./wasm-docker-test
If using bash:
bash run.sh
If using other:
docker buildx build --platform wasi/wasm32 -t nslebruh/wasm-docker-test .
docker compose up