{"id":36530725,"url":"https://github.com/dippynark/containerd-shim-wasm","last_synced_at":"2026-01-12T03:00:58.285Z","repository":{"id":57521417,"uuid":"251445868","full_name":"dippynark/containerd-shim-wasm","owner":"dippynark","description":"A containerd shim implementation for WebAssembly modules","archived":false,"fork":true,"pushed_at":"2020-04-04T13:31:14.000Z","size":2637,"stargazers_count":7,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-03T00:02:17.780Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"dmcgowan/containerd-wasm","license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dippynark.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-03-30T22:48:45.000Z","updated_at":"2023-07-20T01:07:34.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/dippynark/containerd-shim-wasm","commit_stats":null,"previous_names":["dippynark/containerd-wasm"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dippynark/containerd-shim-wasm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dippynark%2Fcontainerd-shim-wasm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dippynark%2Fcontainerd-shim-wasm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dippynark%2Fcontainerd-shim-wasm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dippynark%2Fcontainerd-shim-wasm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dippynark","download_url":"https://codeload.github.com/dippynark/containerd-shim-wasm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dippynark%2Fcontainerd-shim-wasm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28332835,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T00:36:25.062Z","status":"online","status_checked_at":"2026-01-12T02:00:08.677Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-12T03:00:35.673Z","updated_at":"2026-01-12T03:00:58.244Z","avatar_url":"https://github.com/dippynark.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# containerd-shim-wasm\n\ncontainerd-shim-wasm is a fork of [containerd-wasm](https://github.com/dmcgowan/containerd-wasm)\nthat implements the [containerd shim API\nv2](https://github.com/containerd/containerd/tree/master/runtime/v2) for running WebAssembly\nmodules. The current implementation uses the [wasmer](https://github.com/wasmerio/wasmer) runtime.\n\n\u003e Warning: this project is a proof of concept and not suitable for production\n\n## Quickstart\n\nWe can demonstrate the capabilities of the shim by running the [hello-wasm](hello-wasm) module on a\nlocal [kind](https://github.com/kubernetes-sigs/kind) cluster. To do this we must first install\nDocker, kind and kubectl.\n\n### Deploy\n\nOnce the prerequisites are installed we can deploy our cluster using `make deploy`. This will do the\nfollowing:\n\n- Build `containerd-shim-wasm-v1` and download the `wasmer` runtime\n- Create a local kind cluster and bind mount the binaries\n- Deploy the `hello-wasm` WebAssembly module to the cluster\n\n### Logs\n\nAll the module does is print some system information, arguments and environment variables and then\nsleeps on a loop. We can view that information as follows:\n\n```\n$ kubectl get pods\nNAME                          READY   STATUS    RESTARTS   AGE\nhello-wasm-6fc67bb895-67jzh   1/1     Running   0          52s\n$ kubectl logs hello-wasm-6fc67bb895-67jzh -f\nOS name: wasi\nHardware identifier: wasm32\n\nArguments:\nargv[0]: /run/containerd/io.containerd.runtime.v2.task/k8s.io/4f0848f754e5585454dd135fcc74c8e0e4d8787b8c6a845c99d7d183498742fa/rootfs/hello-wasm\n\nEnvironment:\nPATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\nHOSTNAME=hello-wasm-6fc67bb895-67jzh\nKUBERNETES_PORT_443_TCP=tcp://10.96.0.1:443\nKUBERNETES_PORT_443_TCP_PROTO=tcp\nKUBERNETES_PORT_443_TCP_PORT=443\nKUBERNETES_PORT_443_TCP_ADDR=10.96.0.1\nKUBERNETES_SERVICE_HOST=10.96.0.1\nKUBERNETES_SERVICE_PORT=443\nKUBERNETES_SERVICE_PORT_HTTPS=443\nKUBERNETES_PORT=tcp://10.96.0.1:443\n\nWaiting 10 seconds (1)...\nWaiting 10 seconds (2)...\nWaiting 10 seconds (3)...\n...\n```\n\n### Cleanup\n\n```sh\nmake delete\n```\n\n## Alternatives\n\nOne difficulty with this shim implementation is that the shim API assumes a container runtime (as\nthat's what it was designed for), but this doens't align as well with running WebAssmebly modules\n(for example currently you can't exec into a WebAssmebly module as you would a container). The\n[Krustlet](https://github.com/deislabs/krustlet) project implements a Kubelet replacement that\ntreats wasi/wasm modules as first class citizens.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdippynark%2Fcontainerd-shim-wasm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdippynark%2Fcontainerd-shim-wasm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdippynark%2Fcontainerd-shim-wasm/lists"}