podman run -it --rm alpine sh

Category: Kubernetes & Containers

podman run -it --rm alpine sh

Run an interactive throwaway container

Starts an alpine container with an interactive shell, removing the container automatically when you exit thanks to --rm. Perfect for experiments that should leave no trace. Type exit to return to your host shell.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.