mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-21 18:11:35 +00:00
set debug mode on docker daemon
See https://github.com/docker/pinata/issues/827 Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
parent
d0ec243663
commit
12389cd8cc
@ -10,6 +10,9 @@ pidfile="/run/docker.pid"
|
|||||||
# future change this to use a hypervisor socket.
|
# future change this to use a hypervisor socket.
|
||||||
DOCKER_OPTS="${DOCKER_OPTS} -H tcp://0.0.0.0:2375 -H unix:///var/run/docker.sock"
|
DOCKER_OPTS="${DOCKER_OPTS} -H tcp://0.0.0.0:2375 -H unix:///var/run/docker.sock"
|
||||||
|
|
||||||
|
# set debug mode
|
||||||
|
DOCKER_OPTS="${DOCKER_OPTS} --debug"
|
||||||
|
|
||||||
if cat /proc/cmdline | grep -q 'com.docker.driverDir'
|
if cat /proc/cmdline | grep -q 'com.docker.driverDir'
|
||||||
then
|
then
|
||||||
DRIVER="$(cat /proc/cmdline | sed -e 's/.*com.docker.driverDir="//' -e 's/".*//')"
|
DRIVER="$(cat /proc/cmdline | sed -e 's/.*com.docker.driverDir="//' -e 's/".*//')"
|
||||||
|
Loading…
Reference in New Issue
Block a user