diff --git a/monad-docker.sh b/monad-docker.sh index 676093260f..2fbd253919 100644 --- a/monad-docker.sh +++ b/monad-docker.sh @@ -1,15 +1,20 @@ -# docker run magrathea without tty +# docker run magrathea with a non-interactive tty monad-run() { - monad-docker-run "--attach STDOUT --attach STDERR" $* + monad-docker-run "--tty" $* } # docker run magrathea with interactive tty -monad-tty() +monad-it() { monad-docker-run "--interactive --tty" $* } +monad-attach() +{ + monad-docker-run "--attach STDOUT --attach STDERR" $* +} + # runs ephemeral andschwa/magrathea docker container with local # directory mounted and workdir set to /opt monad-docker-run()