mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-29 05:27:41 +00:00
add insecure registry support
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
parent
a8a2905367
commit
167123a363
@ -40,7 +40,7 @@ start()
|
||||
|
||||
if mobyconfig exists etc/docker
|
||||
then
|
||||
cp -a $(mobyconfig path etc/docker)/* /etc/docker/
|
||||
cp -a $(mobyconfig find etc/docker) /etc/docker/
|
||||
fi
|
||||
if mobyconfig exists network
|
||||
then
|
||||
@ -50,6 +50,10 @@ start()
|
||||
DOCKER_OPTS="${DOCKER_OPTS} --userland-proxy-bin /sbin/proxy"
|
||||
fi
|
||||
fi
|
||||
if mobyconfig exists insecure-registry
|
||||
then
|
||||
DOCKER_OPTS="${DOCKER_OPTS} --insecure-registry $(mobyconfig get insecure-registry)"
|
||||
fi
|
||||
|
||||
for d in Users Volumes tmp private
|
||||
do
|
||||
|
Loading…
Reference in New Issue
Block a user