Created
September 4, 2018 09:22
-
-
Save tommysdk/758a3a9076f55a90ed4952062f07216f to your computer and use it in GitHub Desktop.
minikube ssl: add certificate to pull docker images from private docker registry
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
minikube ssh | |
docker pull internal.docker.registry/my-image # Error response from daemon: Get https://internal.docker.registry/v2/: x509: certificate signed by unknown authority | |
sudo mkdir -p /etc/docker/certs.d/internal.docker.registry | |
sudo cp /etc/ssl/my-cert.crt /etc/docker/certs.d/internal.docker.registry/ | |
docker pull internal.docker.registry/my-image # Status: Downloaded newer image for internal.docker.registry/my-image |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment