mirror of
https://github.com/pi-hole/docker-pi-hole.git
synced 2026-04-24 02:39:27 +01:00
arm version complained/crashed on no TTY
Signed-off-by: Adam Hill <adam@diginc.us>
This commit is contained in:
@@ -9,7 +9,7 @@ def DockerGeneric(request, args, image, cmd, entrypoint=''):
|
||||
assert 'docker' in check_output('id'), "Are you in the docker group?"
|
||||
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"
|
||||
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
|
||||
docker_id = check_output(docker_run)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user