Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
[How to Use an Insecure Local Docker Registry with Minikube] Steps required to use an insecure docker registry running on localhost with Minikube for development #docker #minikube #development #docker_registry

How to Use an Insecure Local Docker Registry with Minikube

Steps

  1. Run a local registry server

  2. Log into the Minikube VM with SSH (minikube ssh)

  3. Make sure GatewayPorts option is set to yes in /etc/ssh/sshd_config (and restart the SSH server if necessary)

  4. Forward the exposed registry port on your host machine to the Minikube VM with SSH:

     ssh -i $(minikube ssh-key) -N docker@$(minikube ip) -R 5000:localhost:5000
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment