Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 249 Bytes

README.md

File metadata and controls

13 lines (9 loc) · 249 Bytes

Stop all containers at once

In Git Bash or Bash for Windows you can use this Linux command:

docker stop $(docker ps -q)

For PowerShell, the command is very similar to the Linux one:

docker ps -q | % { docker stop $_ }