arm version complained/crashed on no TTY
Signed-off-by: Adam Hill <adam@diginc.us>
This commit is contained in:
parent
62c1fb49ee
commit
b39a2ad69a
|
@ -9,7 +9,7 @@ def DockerGeneric(request, args, image, cmd, entrypoint=''):
|
||||||
assert 'docker' in check_output('id'), "Are you in the docker group?"
|
assert 'docker' in check_output('id'), "Are you in the docker group?"
|
||||||
if 'pihole' in image:
|
if 'pihole' in image:
|
||||||
args += " --dns 127.0.0.1 --dns 1.1.1.1 -v /dev/null:/etc/pihole/adlists.default -e PYTEST=1"
|
args += " --dns 127.0.0.1 --dns 1.1.1.1 -v /dev/null:/etc/pihole/adlists.default -e PYTEST=1"
|
||||||
docker_run = "docker run -d {args} {entry} {image} {cmd}".format(args=args, entry=entrypoint, image=image, cmd=cmd)
|
docker_run = "docker run -d -t {args} {entry} {image} {cmd}".format(args=args, entry=entrypoint, image=image, cmd=cmd)
|
||||||
print docker_run
|
print docker_run
|
||||||
docker_id = check_output(docker_run)
|
docker_id = check_output(docker_run)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue