X-Git-Url: https://apps.delaporte.us/gitweb/dotfiles.git/blobdiff_plain/3eb06344159ed95d574c8b3f470e6d642a4742b3..4b206dad6f5d5eeb902cd2ab700161fbb9f96058:/Microsoft.PowerShell_profile.ps1?ds=sidebyside diff --git a/Microsoft.PowerShell_profile.ps1 b/Microsoft.PowerShell_profile.ps1 index cea5a71..d2fd450 100644 --- a/Microsoft.PowerShell_profile.ps1 +++ b/Microsoft.PowerShell_profile.ps1 @@ -59,4 +59,16 @@ $modPaths | ForEach-Object { Import-Module $_ Write-Host "Loaded $_" } +} + +function Start-DockerPython3Bash { + docker run -it python /bin/bash +} + +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