User-defined Playground
 by Márk Sági-Kazár

CRI-O Playground

Lightweight Container Runtime for Kubernetes

Playground Parameters

CRI-O playground: Lightweight Container Runtime for Kubernetes

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>

📚 Learn More

🧪 Playgrounds

Happy learning! 🚀