January 2018
Intermediate to advanced
318 pages
7h 6m
English
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" ...
Read now
Unlock full access