MSNCodeSNIPPETS← msncode.dev
snippets/docker

Clean Everything (Dangling + Stopped)

Remove stopped containers, dangling images, and unused networks

dockerbashprunecleanup
BASH
docker system prune -a

More docker snippets

Build Image with Tag

Build a Docker image with a custom name

Copy File to Container

Copy a file from host into a running container

Enter a Running Container

Get a shell inside a running Docker container

List Running Containers

Show all currently running Docker containers