runw
cri-tools
runw | cri-tools | |
---|---|---|
2 | 7 | |
18 | 1,557 | |
- | 0.6% | |
0.0 | 9.2 | |
almost 3 years ago | about 19 hours ago | |
C++ | Go | |
- | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
runw
-
Using Docker tools like CRI-O to manage WebAssembly apps
One of the great advantages of Docker is its rich ecosystem of tools. An alternative runner for CRI-O, called runw, could load and run WebAssembly bytecode programs as if they are Docker image files. runw will bring Docker-like tooling to WebAssembly developers.
-
😎 Manage WebAssembly Apps in WasmEdge Using Docker Tools
One of the great advantages of Docker is its rich ecosystem of tools. At WasmEdge, we would like to bring Docker-like tooling to our developers. To accomplish that, we created an alternative runner for CRI-O, called runw, to load and run WebAssembly bytecode programs as if they are Docker image files.
cri-tools
-
Migrating from dockershim to containerd
Installing crictl (https://github.com/kubernetes-sigs/cri-tools/blob/master/docs/crictl.md) was helpful, as well as journalctl -u containerd.
- kubectl get nodes -o wide shows containerd runtime, but sudo ctr containers list doesn't return any containers on host
-
Debugging containerd, A "new" container runtime means new debugging techniques are required
crictl: Uses the CRI interface to fetch data about containers, agnostic of CRIs. Maintained by Kubernetes at https://github.com/kubernetes-sigs/cri-tools
-
Quick question: Can you run crictl commands from within a running container?
FROM alpine:latest RUN wget -O - https://github.com/kubernetes-sigs/cri-tools/releases/download/v1.23.0/crictl-v1.23.0-linux-amd64.tar.gz | gunzip | tar xvf - && mv crictl /usr/bin
-
k8s-the-hard-way
# wget https://github.com/kubernetes-sigs/cri-tools/releases/download/v1.21.0/crictl-v1.21.0-linux-amd64.tar.gz \ https://github.com/opencontainers/runc/releases/download/v1.0.0-rc93/runc.amd64 \ https://github.com/containernetworking/plugins/releases/download/v0.9.1/cni-plugins-linux-amd64-v0.9.1.tgz \ https://github.com/containerd/containerd/releases/download/v1.4.4/containerd-1.4.4-linux-amd64.tar.gz \ https://storage.googleapis.com/kubernetes-release/release/v1.21.0/bin/linux/amd64/kubectl \ https://storage.googleapis.com/kubernetes-release/release/v1.21.0/bin/linux/amd64/kube-proxy \ https://storage.googleapis.com/kubernetes-release/release/v1.21.0/bin/linux/amd64/kubelet
-
A Window into Docker, minikube, and containerd
We are in the endgame now. I promise. From the README, crictl provides a CLI for CRI-compatible container runtimes. The following snippet performs the following:
-
😎 Manage WebAssembly Apps in WasmEdge Using Docker Tools
Also make sure that you have cri-o, crictl, containernetworking-plugins, and buildah or docker installed.
What are some alternatives?
SSVM - WasmEdge is a lightweight, high-performance, and extensible WebAssembly runtime for cloud native, edge, and decentralized applications. It powers serverless apps, embedded functions, microservices, smart contracts, and IoT devices.
node-feature-discovery - Node feature discovery for Kubernetes
wasm-learning - Building Rust functions for Node.js to take advantage of Rust's performance, WebAssembly's security and portability, and JavaScript's ease-of-use. Demo code and recipes.
cni - Container Network Interface - networking for Linux containers
rustwasmc - Tool for building Rust functions for Node.js. Combine the performance of Rust, safety and portability of WebAssembly, and ease of use of JavaScript.
cri-o - Open Container Initiative-based implementation of Kubernetes Container Runtime Interface
cfssl - CFSSL: Cloudflare's PKI and TLS toolkit
plugins - Some reference and example networking plugins, maintained by the CNI team.
runc - CLI tool for spawning and running containers according to the OCI specification
cli - The Docker CLI