Verified Commit 39532430 authored by anarcat's avatar anarcat
Browse files

hotfix: do not call docker with --tty, it crashes under systemd

Any `docker run --tty` (which `-it` implies) crashes with:

    the input device is not a TTY

... when running as a systemd service. It seems like keeping
`-i` (which we expand to `--interactive` for clarity) keeps everything
normal (ie. we still see the container output).

Closes: #15
parent 90746bde
......@@ -246,7 +246,7 @@ class DockerRunner(object):
cmd = [
f"--cidfile={tmpdir}/cidfile", # to get the container ID
cmd += docker_args
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment