Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 1.67 KB

README.md

File metadata and controls

33 lines (21 loc) · 1.67 KB

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:

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).

⚠️ 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

  1. docker-compose may not exit cleanly when interrupted
    • Workaround: Clean up docker-compose processes by sending them a SIGKILL (killall -9 docker-compose).
  2. 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

Show me the demos!

Click through to the demos folder to get started with Docker + Wasm.