# container2wasm/container2wasm

Container to WASM converter

Repository: https://github.com/container2wasm/container2wasm
Canonical: https://ross.abutalabs.com/products/container2wasm
Homepage: https://ktock.github.io/container2wasm-demo/
Language: Go
License: Apache-2.0
License Family: permissive
Topics: containers, docker, wasm, webassembly
Last push: 2026-08-24T02:34:27+00:00

## Health v2 (maintenance only)
Score: 85/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 63, longevity 92
- inputs: {"age_days": 1295, "days_push": 10, "days_rel": 170, "gap_med": 73.0, "n_releases_24m": 7}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2768, forks 148 (observed 2026-08-28T04:07:18.689948+00:00)

## What it is
container2wasm is a Go CLI tool that converts container images (e.g. Docker images) into WASM binaries that can run on WASI runtimes or in the browser. It uses emulators like Bochs, TinyEMU, and QEMU to run x86_64, riscv64, or AArch64 containers inside WebAssembly.

## Use cases
- convert docker container image to wasm
- run linux containers in the browser
- run containerized tools with wasmtime
- compile ubuntu image to wasi binary
- run containers on any wasi runtime
- sandbox container execution in webassembly

## When to choose
- you want to run existing container images as portable WASM binaries
- you need to demo Linux containers in a browser without a server
- you want to run containerized CLI tools on WASI runtimes like wasmtime or wasmer

## When to avoid
- you need native performance, since emulation adds significant overhead
- you need GPU, complex networking, or full container runtime features
- you need a production-grade container runtime rather than an experimental converter

## Facets
- artifact type: cli-tool
- maturity: active
- function: container-runtime, compiler, wasm, developer-tools
- domain: developer-tools, cross-platform
- platform: cli, wasm, browser, go, windows
- tags: wasi, emulation, qemu, bochs, tinyemu, container-images, webassembly, containers, docker, linux, macos

## Member repositories
- container2wasm/container2wasm (main) score 85

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:18.689948+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T08:16:42.279349+00:00, confidence not recorded.
  - readme: https://github.com/container2wasm/container2wasm (fetched 2026-08-28T04:07:18.689948+00:00, sha 2ff4bb5755d1)
  - homepage: https://ktock.github.io/container2wasm-demo/ (fetched 2026-08-29T09:56:08.702817+00:00, sha ec191965181c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
