-
-
Save antonpetrovmain/0762f75b694c9ac9245becfcdd213337 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