Get access to the Podman playground with one click
Welcome to the Podman Playground!
Podman — the modern, daemonless container engine. No background process, no root required. OCI-compliant and drop-in compatible with Docker commands.
Tip: Use
podman or the alias d interchangeably. Podman commands are a drop-in replacement for docker commands.What’s Pre-installed
- Podman (latest, Alpine)
- Alias:
d=podman - Rootless: runs containers without root privileges
Quick Start
podman run hello-world podman ps -a podman images
Common Workflows
# Build and run podman build -t myimage -f - <<'EOF' FROM alpine CMD ["echo", "hello from podman"] EOF podman run myimage # Pods (Kubernetes-style grouping) podman pod create --name mypod -p 8080:80 podman run -d --pod mypod nginx podman pod ps podman pod stop mypod # Generate Kubernetes YAML from a pod podman generate kube mypod
Advanced Tips
# Convert Docker Compose to pods podman-compose up # requires: pip install podman-compose # Play a Kubernetes YAML (run a Pod locally) podman play kube nginx-pod.yaml # Export an image to OCI archive podman save -o myimage.tar --format oci-archive myimage # Show container diff podman diff <container-id>
Session Notes
- Session lasts 1 hour.
- Use
podmanor the aliasdinterchangeably.