mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-08-04 00:10:15 +00:00
fix checking for debug key exists
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
parent
cafa14e1fc
commit
ce6ae3a70b
@ -79,7 +79,7 @@ start()
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Set Docker to debug debug if not specified in daemon.json
|
# Set Docker to debug debug if not specified in daemon.json
|
||||||
([ -f /etc/docker/daemon.json ] && cat /etc/docker/daemon.json | jq -e .debug > /dev/null) || DOCKER_OPTS="${DOCKER_OPTS} --debug"
|
([ -f /etc/docker/daemon.json ] && cat /etc/docker/daemon.json | jq -e 'has("debug")' > /dev/null) || DOCKER_OPTS="${DOCKER_OPTS} --debug"
|
||||||
|
|
||||||
# shift logs onto host before docker starts
|
# shift logs onto host before docker starts
|
||||||
# busybox reopens its log files every second
|
# busybox reopens its log files every second
|
||||||
|
Loading…
Reference in New Issue
Block a user