docker run --rm -it alpine sh

Category: Docker

docker run --rm -it alpine sh

Run Alpine container interactively and auto-remove it on exit

Runs an Alpine Linux container (minimal, ~5MB) for interactive exploration. --rm deletes the container automatically when you exit.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.