# Install
-weight: 500;">brew -weight: 500;">install podman # macOS
-weight: 600;">sudo -weight: 500;">apt -weight: 500;">install podman # Ubuntu/Debian # Initialize machine (macOS/Windows)
podman machine init
podman machine -weight: 500;">start # Use exactly like Docker
podman run -d -p 8080:80 nginx
podman ps
podman logs <container-id>
# Install
-weight: 500;">brew -weight: 500;">install podman # macOS
-weight: 600;">sudo -weight: 500;">apt -weight: 500;">install podman # Ubuntu/Debian # Initialize machine (macOS/Windows)
podman machine init
podman machine -weight: 500;">start # Use exactly like Docker
podman run -d -p 8080:80 nginx
podman ps
podman logs <container-id>
# Install
-weight: 500;">brew -weight: 500;">install podman # macOS
-weight: 600;">sudo -weight: 500;">apt -weight: 500;">install podman # Ubuntu/Debian # Initialize machine (macOS/Windows)
podman machine init
podman machine -weight: 500;">start # Use exactly like Docker
podman run -d -p 8080:80 nginx
podman ps
podman logs <container-id>
alias -weight: 500;">docker=podman
# Now all your Docker commands work with Podman
-weight: 500;">docker build -t myapp .
-weight: 500;">docker run -p 3000:3000 myapp
alias -weight: 500;">docker=podman
# Now all your Docker commands work with Podman
-weight: 500;">docker build -t myapp .
-weight: 500;">docker run -p 3000:3000 myapp
alias -weight: 500;">docker=podman
# Now all your Docker commands work with Podman
-weight: 500;">docker build -t myapp .
-weight: 500;">docker run -p 3000:3000 myapp
# Create a pod
podman pod create --name myapp -p 8080:80 # Add containers to the pod (they share network)
podman run -d --pod myapp nginx
podman run -d --pod myapp redis # Generate Kubernetes YAML from running pod
podman generate kube myapp > myapp.yaml
# Create a pod
podman pod create --name myapp -p 8080:80 # Add containers to the pod (they share network)
podman run -d --pod myapp nginx
podman run -d --pod myapp redis # Generate Kubernetes YAML from running pod
podman generate kube myapp > myapp.yaml
# Create a pod
podman pod create --name myapp -p 8080:80 # Add containers to the pod (they share network)
podman run -d --pod myapp nginx
podman run -d --pod myapp redis # Generate Kubernetes YAML from running pod
podman generate kube myapp > myapp.yaml
-weight: 500;">pip -weight: 500;">install podman-compose
podman-compose up -d
-weight: 500;">pip -weight: 500;">install podman-compose
podman-compose up -d
-weight: 500;">pip -weight: 500;">install podman-compose
podman-compose up -d
# Generate systemd unit from running container
podman generate systemd --name mycontainer --files # Enable auto--weight: 500;">start on boot
-weight: 500;">systemctl --user -weight: 500;">enable container-mycontainer.-weight: 500;">service
# Generate systemd unit from running container
podman generate systemd --name mycontainer --files # Enable auto--weight: 500;">start on boot
-weight: 500;">systemctl --user -weight: 500;">enable container-mycontainer.-weight: 500;">service
# Generate systemd unit from running container
podman generate systemd --name mycontainer --files # Enable auto--weight: 500;">start on boot
-weight: 500;">systemctl --user -weight: 500;">enable container-mycontainer.-weight: 500;">service - No privilege escalation via socket
- User namespaces isolate container processes
- Container breakout = your user permissions, not root