From 00afe41e5a15fc876df32ed63d66cbb740e448b8 Mon Sep 17 00:00:00 2001 From: Edward Delaporte Date: Fri, 3 Apr 2020 13:29:05 -0500 Subject: [PATCH] Maybe stop my docker stuff once in awhile. --- Microsoft.PowerShell_profile.ps1 | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.47.3