The Container Runtime Lab

Lab 1: Moving from Docker to Podman

If you are on Linux (Fedora/CentOS/RHEL), try this to see how seamless the switch is.

Install Podman:

sudo dnf install -y podman

Set the Alias:

alias docker=podman

Run a container (Notice no sudo!):

docker run --rm -it alpine echo "I am running rootless!"

    Lab 2: Debugging K8s with crictl

    Since Docker is gone from K8s, use crictl (Container Runtime Interface Control).

    List running pods on a K8s node:

    sudo crictl pods

    List images:

    sudo crictl images

      Note: The syntax is almost identical to Docker!

      Leave a Comment

      Your email address will not be published. Required fields are marked *

      Scroll to Top