wasm-day-na-22
wasm-day-na-22 copied to clipboard
Wasm Day NA 2022: Build, Share, Run Wasm using Docker
Technical content from my talk with @juntao from WasmEdge at the Cloud Native Wasm Day NA 2022.
This repository gives you all the links and instructions you need to try out Docker with WASI support.
Prerequisites
To use Docker with WASI, you will need to download a technical preview build of Docker Desktop:
- macOS Apple Silicon
- macOS Intel
- Windows AMD64
- Linux Arm64 (deb)
- Linux AMD64 (deb, rpm, tar)
Or alternatively, you can set up a WASI compatible context of Docker Engine on a headless machine (e.g., a cloud VM or a server).
:warning: This is a technical preview build of Docker Desktop and it may not behave as you expect. Back up your containers and images before trying it.
The build has the containerd image store enabled and it cannot be disabled. Your existing images and containers may not be visible.
Known issues
-
docker-compose
may not exit cleanly when interrupted- Workaround: Clean up
docker-compose
processes by sending them a SIGKILL (killall -9 docker-compose
).
- Workaround: Clean up
- Pushes to Hub might give an error stating
server message: insufficient_scope: authorization failed
, even after logging in using Docker Desktop- Workaround: Run
docker login
in the CLI
- Workaround: Run
Show me the demos!
Click through to the demos folder to get started with Docker + Wasm.