Skip to content

Commit 25f319e

Browse files
author
Matthew Fisher
committed
document --insecure-registry flag
1 parent 075e342 commit 25f319e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,15 @@ The fix is to update /etc/sysconfig/docker to ensure that minikube's environment
150150

151151
Remember to turn off the imagePullPolicy:Always, as otherwise kubernetes won't use images you built locally.
152152

153+
#### Enabling Docker Insecure Registry
154+
155+
Minikube allows users to configure the docker engine's `--insecure-registry` flag. You can use the `--insecure-registry` flag on the
156+
`minikube start` command.
157+
158+
One nifty hack is to allow the kubelet running in minikube to talk to registries deployed inside a pod in the cluster without backing them
159+
with TLS certificates. Because the service cluster IP range is known to be available at 10.0.0.0/24, users can pull images from registries
160+
deployed inside the cluster by creating the cluster with `minikube start --insecure-registry "10.0.0.0/24"`.
161+
153162
## Managing your Cluster
154163

155164
### Starting a Cluster

0 commit comments

Comments
 (0)