docker system prune — Basic UsageIT technician command center
Containers · Docker and Kubernetes

docker system prune — Basic Usage

Use docker system prune for a standard administrative task.

Copy-ready commanddocker system prune — Basic Usage
docker system prune
Production warning

Stop, prune, delete, scale, restart, and apply operations can change running services.

Requirements and permissions

Requirements
Docker Engine, Docker Compose, or kubectl
Permissions
Container or cluster permissions vary
Last reviewed
2026-07-31

Examples

Basic Usage

Use docker system prune for a standard administrative task.

docker system prune

Original command

Remove unused Docker objects.

docker system prune

Common errors

Command not found

Confirm Docker Engine, Docker Compose, or kubectl is installed and available in your current shell.