Sign inSign up

faithlife/minikube-registry-proxy

By faithlife

Updated about 8 years ago

Use locally built images in Minikube without an external registry.

Image
0

8.8K

faithlife/minikube-registry-proxy repository overview

Minikube Registry Proxy

minikube-registry-proxy runs as a container in your Docker Engine and proxies port 5000 to Minikube. This allows you to easily use locally built images in Minikube without requiring an external registry.

Tanmai Gopal explains this problem and general solution in Sharing a local registry with minikube. The minikube-registry-proxy solution works well with Docker for Mac (not just docker-machine) and uses the Minikube registry addon. It allows your Docker version to be newer than the version supported by Minikube.

Setup

  1. Install Minikube

  2. Enable the registry addon:

    minikube addons enable registry

  3. Install the kube-registry-proxy DaemonSet:

    kubectl apply -f https://github.com/Faithlife/minikube-registry-proxy/raw/master/kube-registry-proxy.yml

  4. Start the minikube-registry-proxy:

    curl -L https://github.com/Faithlife/minikube-registry-proxy/raw/master/docker-compose.yml | MINIKUBE_IP=$(minikube ip) docker-compose -p mkr -f - up -d

You can now push images with a localhost:5000/ tag prefix and pull them into Minikube.

Tag summary

Content type

Image

Digest

Size

26.6 MB

Last updated

about 8 years ago

docker pull faithlife/minikube-registry-proxy