O'Reilly logo

Kubernetes for Serverless Applications by Russ McKendrick

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Environment

Next up, we have a few commands that display information about the virtual machine and also the environment that Minikube has configured on your device.

First, we have quite a simple command, minikube ip. All this command does is return the IP address of the virtual machine. This is useful if you want to interact with your cluster through a script. You can include the output of the command to reference your cluster's current IP address without having to hardcode the actual IP address into your scripts.

The next command we are going to look at is minikube docker-env. Running this command should print something like the following output to your screen:

$ minikube docker-envexport DOCKER_TLS_VERIFY="1"export DOCKER_HOST="tcp://192.168.99.101:2376" ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required