Skip to content

Instantly share code, notes, and snippets.

@sachin-handiekar
Created November 13, 2019 19:20
Show Gist options
  • Save sachin-handiekar/f4586dc8a223cca7bc3444f9ec56e2b6 to your computer and use it in GitHub Desktop.
Save sachin-handiekar/f4586dc8a223cca7bc3444f9ec56e2b6 to your computer and use it in GitHub Desktop.
Docker Powershell Windows Command

Windows Powershell

  1. Stop all containers

docker ps -aq | foreach {docker stop $_}

  1. Remove all containers

docker ps -aq | foreach {docker rm $_}

@stonejetty
Copy link

You rock! Thank you!

@X-MARIO
Copy link

X-MARIO commented Jun 24, 2021

Cool!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment