From: Edward Delaporte Date: Fri, 3 Apr 2020 18:29:05 +0000 (-0500) Subject: Maybe stop my docker stuff once in awhile. X-Git-Url: https://apps.delaporte.us/gitweb/dotfiles.git/commitdiff_plain/00afe41e5a15fc876df32ed63d66cbb740e448b8?ds=sidebyside Maybe stop my docker stuff once in awhile. --- diff --git a/Microsoft.PowerShell_profile.ps1 b/Microsoft.PowerShell_profile.ps1 index e2aef9c..d2fd450 100644 --- a/Microsoft.PowerShell_profile.ps1 +++ b/Microsoft.PowerShell_profile.ps1 @@ -67,4 +67,8 @@ function Start-DockerPython3Bash { function Start-DockerPython2Bash { docker run -it python:2-buster /bin/bash +} + +function Stop-Docker { + docker stop $(docker ps -a -q) } \ No newline at end of file