File tree 1 file changed +2
-0
lines changed
build/docker/tools/tke-installer
1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -139,13 +139,15 @@ if [ "$#" -eq 0 ] || [ "${1#-}" != "$1" ]; then
139
139
--tlscacert " $DOCKER_TLS_CERTDIR /server/ca.pem" \
140
140
--tlscert " $DOCKER_TLS_CERTDIR /server/cert.pem" \
141
141
--tlskey " $DOCKER_TLS_CERTDIR /server/key.pem" \
142
+ --insecure-registry=registry.tke.com \
142
143
" $@ "
143
144
DOCKERD_ROOTLESS_ROOTLESSKIT_FLAGS=" ${DOCKERD_ROOTLESS_ROOTLESSKIT_FLAGS:- } -p 0.0.0.0:2376:2376/tcp"
144
145
else
145
146
# TLS disabled (-e DOCKER_TLS_CERTDIR='') or missing certs
146
147
set -- dockerd \
147
148
--host=" $dockerSocket " \
148
149
--host=tcp://0.0.0.0:2375 \
150
+ --insecure-registry=registry.tke.com \
149
151
" $@ "
150
152
DOCKERD_ROOTLESS_ROOTLESSKIT_FLAGS=" ${DOCKERD_ROOTLESS_ROOTLESSKIT_FLAGS:- } -p 0.0.0.0:2375:2375/tcp"
151
153
fi
You can’t perform that action at this time.
0 commit comments