Created
October 13, 2019 08:02
-
-
Save anuragmathur1/61b2c57f83cefc19616ee346b00bd671 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
## This is useful in case when you want your local docker to point to the minikube VM. | |
## So after running the below commands, you docker commands will return from the minikube vm. | |
## `docker images` will no longer report images on your local mac workstation but the images on the minikube VM. | |
## you may just run the eval command as in the last line to do all at once. | |
export DOCKER_TLS_VERIFY="1" | |
export DOCKER_HOST="tcp://192.168.99.106:2376" | |
export DOCKER_CERT_PATH="/Users/anurag.mathur/.minikube/certs" | |
# Run this command to configure your shell: | |
# eval $(minikube docker-env) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment