Skip to content

Commit 45ee2db

Browse files
Merge pull request #11471 from EmandM/patch-1
Update registry.md with instructions to avoid common pitfalls
2 parents d76259e + c8a6fdf commit 45ee2db

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

site/content/en/docs/handbook/registry.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ You can use the `--insecure-registry` flag on the
4242

4343
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
4444
with TLS certificates. Because the default service cluster IP is known to be available at 10.0.0.1, users can pull images from registries
45-
deployed inside the cluster by creating the cluster with `minikube start --insecure-registry "10.0.0.0/24"`.
45+
deployed inside the cluster by creating the cluster with `minikube start --insecure-registry "10.0.0.0/24"`. Ensure the cluster
46+
is deleted using `minikube delete` before starting with the `--insecure-registry` flag.
4647

4748
### docker on macOS
4849

@@ -53,6 +54,7 @@ The first step is to enable the registry addon:
5354
```shell
5455
minikube addons enable registry
5556
```
57+
> Note: Minikube will generate a port and request you use that port when enabling registry. That instruction is not related to this guide.
5658
5759
When enabled, the registry addon exposes its port 5000 on the minikube's virtual machine.
5860

0 commit comments

Comments
 (0)