DEV Community

Alex Spinov
Alex Spinov

Posted on

Podman Has Free Rootless Containers — Run Docker Without Docker Desktop or Root Access

Why Podman?

Podman is a drop-in Docker replacement — no daemon, no root. After Docker Desktop license changes, it became the enterprise go-to.

brew install podman
podman machine init && podman machine start
podman run -d -p 8080:80 nginx
Enter fullscreen mode Exit fullscreen mode

Docker Compatibility

alias docker=podman
podman build -t myapp .
podman run -d -p 3000:3000 myapp
Enter fullscreen mode Exit fullscreen mode

Rootless = Secure

No privilege escalation, no root daemon to exploit. Safe for CI/CD.

Pods (K8s-Style)

podman pod create --name myapp -p 8080:80
podman run -d --pod myapp nginx
podman run -d --pod myapp redis
podman generate kube myapp > myapp.yaml
Enter fullscreen mode Exit fullscreen mode
Feature Podman Docker
Daemon No Yes
Root No Yes
License Apache 2.0 Mixed
K8s YAML Built-in No

Need to extract data from any website at scale? I build custom web scrapers — 77 production scrapers running on Apify Store. Email me at spinov001@gmail.com for a tailored solution.

Top comments (0)