Restart all active, stopped, or exited Docker containers in seconds using quiet ID output piping.
bash
Press C to copy
docker restart $(docker ps -aq)Instant CLI cheatsheets, container management, pruning, and compose commands.
Get $200 free credit to host Docker apps, databases, and microservices on high-performance cloud VMs.
Restart all active, stopped, or exited Docker containers in seconds using quiet ID output piping.
docker restart $(docker ps -aq)Clean up gigabytes of reclaimed disk space by wiping dangling images, containers, networks, and unused cache.
docker system prune -a --volumes