From: Edward Delaporte Date: Thu, 26 Mar 2020 18:04:41 +0000 (-0500) Subject: Messing with run commands. X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/commitdiff_plain/3c063b69039cc17714b62f8b1e6a3cea495339b7?hp=024b061d9c6c271bbbd5da3ded7403db4ae95b6f Messing with run commands. --- diff --git a/Toybox/toybox.psm1 b/Toybox/toybox.psm1 index 97f1273..4dff2e4 100644 --- a/Toybox/toybox.psm1 +++ b/Toybox/toybox.psm1 @@ -6,13 +6,24 @@ function Show-Calendar { } Export-ModuleMember -Function Show-Calendar -function New-DockerPython26 { +function New-DockerPython2 { docker build $TOYBOX_ROOT docker container create --name $TODYBOX_DOCKER_NAME e8cff83571c6 } -function Start-Python2 { +function Start-DockerPython2 { docker start $TOYBOX_DOCKER_NAME +} +function Start-DockerPython2Shell { docker exec $TOYBOX_DOCKER_NAME bash # Set-Location $TOYBOX_ROOT; docker run -} \ No newline at end of file +} + +function Start-DockerPythonBash { + docker run -it python /bin/bash +} + +# Export-ModuleMember -Function New-DockerPython2 +# Export-ModuleMember -Function Start-DockerPython2 +# Export-ModuleMember -Function Start-DockerPython2Shell +Export-ModuleMember -Function Start-DockerPythonBash