User-defined Playground

CRI-O Playground

Lightweight Container Runtime for Kubernetes

CRI-O playground: Lightweight Container Runtime for Kubernetes
Machines & network
1 VM ยท 4 vCPU ยท 8GiB RAM
Playground host Internet NAT MASQUERADE local (bridge) 172.16.0.0/24 gw 172.16.0.1/24eth0
VM
vCPU ยท
eth0
/
oci://ghcr.io/sagikazarmark/iximiuz-labs/base/cri-o:ffac1f9745fd
About

This environment is set up for learning how to work with CRI-O โ€” a lightweight container runtime specifically designed for Kubernetes, implementing the Container Runtime Interface (CRI).

๐Ÿ”ง System Components

  • cri-o: The core CRI-compatible container runtime daemon.
  • runc/crun: Low-level OCI runtime implementations.
  • conmon: Container monitoring tool that handles container lifecycle.

๐Ÿ› ๏ธ Tools

  • crictl: The primary CLI for interacting with CRI-O and other CRI-compatible runtimes.

๐ŸŽฏ Getting Started

Pull and list images

crictl pull hello-world:latest

crictl images

Run containers

# Create a pod first (CRI-O works with pods)
crictl runp pod-config.yaml

# Run container in the pod
crictl create <pod-id> container-config.yaml pod-config.yaml
crictl start <container-id>

Manage pods

# List pods
crictl pods

# Create a pod
crictl runp pod-config.yaml

# Stop and remove a pod
crictl stopp <pod-id>
crictl rmp <pod-id>

๐Ÿท๏ธ Versions

  • CRI-O: v1.35

๐Ÿ“š Learn More

๐Ÿงช Playgrounds

Happy learning! ๐Ÿš€

Every playground includes
Learn more about playgrounds
Start
Settings