mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-24 11:25:40 +00:00
allow use of any files under /etc/docker eg /etc/docker/certs.d/
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
parent
a60e4c92c8
commit
32c895765f
@ -38,9 +38,9 @@ start()
|
||||
# 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"
|
||||
|
||||
if mobyconfig exists etc/docker/daemon.json
|
||||
if mobyconfig exists etc/docker
|
||||
then
|
||||
DOCKER_OPTS="${DOCKER_OPTS} --config-file $(mobyconfig path etc/docker/daemon.json)"
|
||||
cp -a $(mobyconfig path etc/docker)/* /etc/docker/
|
||||
fi
|
||||
if mobyconfig exists network
|
||||
then
|
||||
|
Loading…
Reference in New Issue
Block a user