Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chris-crone/wasm-day-na-22
https://github.com/chris-crone/wasm-day-na-22
Last synced: 19 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/chris-crone/wasm-day-na-22
- Owner: chris-crone
- Created: 2022-10-11T19:09:29.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-23T20:13:38.000Z (about 2 years ago)
- Last Synced: 2024-12-16T01:36:58.200Z (19 days ago)
- Size: 18.6 KB
- Stars: 45
- Watchers: 6
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Wasm Day NA 2022: Build, Share, Run Wasm using Docker
Technical content from my talk with [@juntao](https://github.com/juntao) from [WasmEdge](https://wasmedge.org) 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](https://wasi.dev) support.
## Prerequisites
To use Docker with WASI, you will need to download a technical preview build of Docker Desktop:
* [macOS Apple Silicon](https://dockr.ly/3sf56vH)
* [macOS Intel](https://dockr.ly/3VF6uFB)
* [Windows AMD64](https://dockr.ly/3ShlsP0)
* Linux Arm64 ([deb](https://dockr.ly/3TDcjRV))
* Linux AMD64 ([deb](https://dockr.ly/3TgpWH8), [rpm](https://dockr.ly/3eG6Mvp), [tar](https://dockr.ly/3yUhdCk))**Or alternatively,** you can set up a [WASI compatible context of Docker Engine](./server) 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](https://docs.docker.com/desktop/containerd/) 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`).
1. 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](./demos) folder to get started with Docker + Wasm.