Created
June 11, 2019 02:50
-
-
Save iyank4/edca0da78587f06a26bb460a5173eecc to your computer and use it in GitHub Desktop.
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
On Mac | |
Enable the minikube registry | |
$ minikube addons enable registry | |
find the registry IP | |
$ kubectl get services -n kube-system | |
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE | |
kube-dns ClusterIP 10.96.0.10 <none> 53/UDP,53/TCP,9153/TCP 18h | |
kubernetes-dashboard ClusterIP 10.104.90.254 <none> 80/TCP 18h | |
registry ClusterIP 10.97.244.152 <none> 80/TCP 15h | |
add insecure-registries IP address, (and the port 10.97.244.152:80 maybe :) | |
$ cat ~/.docker/daemon.json | |
{ | |
"debug" : true, | |
"experimental" : false, | |
"insecure-registries" : ["10.97.244.152"] | |
} | |
Restart the docker daemon. | |
enable the tunnel | |
$minikube tunnel | |
tag the images with that IP, and | |
$ docker push |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment