Fix monad-run

Use a non-interactive tty with monad-run, add monad-attach to run
without a tty
This commit is contained in:
Andrew Schwartzmeyer
2015-11-04 15:09:29 -08:00
parent cbcf974e57
commit bf28474f32
+8 -3
View File
@@ -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()