This output also give you a one-liner setup: eval $(minikube docker-env) # Run this command to configure your shell: The minikube cli helpfully provides these environment variables: $ minikube docker-envĮxport DOCKER_HOST="tcp://192.168.99.102:2376"Įxport DOCKER_CERT_PATH="/Users/schowdhury/.minikube/certs" That’s done by simply setting some environment variables, DOCKER_HOST, DOCKER_CERT_PATH,…etc. However to interact with the minikube’s docker daemon, you need to configure your macbook’s docker cli to connect to your minikube’s docker daemon. At the moment our macbook isn’t directly running any containers: $ docker container lsĬONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES In our macbooks, the docker cli is preconfigured to interact with the docker daemon that’s running directly on our macbook. You can find all my latest posts on medium.
0 Comments
Leave a Reply. |