[root@localhost ~]# minikube start --vm-driver=kvm
Starting local Kubernetes v1.6.4 cluster...
Starting VM...
Moving files into cluster...
Setting up certs...
Starting cluster components...
Connecting to cluster...
Setting up kubeconfig...
Kubectl is now configured to use the cluster.
You have new mail in /var/spool/mail/root
[root@localhost ~]#
[root@localhost ~]# minikube start --vm-driver=kvm
Starting local Kubernetes v1.6.4 cluster...
Starting VM...
Moving files into cluster...
Setting up certs...
Starting cluster components...
Connecting to cluster...
Setting up kubeconfig...
Kubectl is now configured to use the cluster.
You have new mail in /var/spool/mail/root
[root@localhost ~]#
[root@localhost ~]# kubectl run hello-minikube --image=gcr.io/google_^Cntainers/echoserver:1.4 --port=8080
[root@localhost ~]# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
registry 2 c2a449c9f834 10 days ago 33.2MB
ubuntu latest d355ed3537e9 2 weeks ago 119MB
localhost:5000/myfirstimage latest d355ed3537e9 2 weeks ago 119MB
dockercloud/client latest a073d03b69b4 4 weeks ago 15.4MB
[root@localhost ~]# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
0c57d7f80eb6 registry:2 "/entrypoint.sh /e..." About an hour ago Up About an hour 0.0.0.0:5000->5000/tcp registry
[root@localhost ~]# kubectl run hello-minikube --image=docker.io/ubuntu --port=8080
deployment "hello-minikube" created
[root@localhost ~]# kubectl get pods
NAME READY STATUS RESTARTS AGE
hello-minikube-163058685-8xj26 0/1 ContainerCreating 0 14s
[root@localhost ~]# kubectl get pods
NAME READY STATUS RESTARTS AGE
hello-minikube-163058685-8xj26 0/1 ContainerCreating 0 23s
[root@localhost ~]# kubectl get pods
NAME READY STATUS RESTARTS AGE
hello-minikube-163058685-8xj26 0/1 Completed 1 25s
[root@localhost ~]# kubectl get pods
NAME READY STATUS RESTARTS AGE
hello-minikube-163058685-8xj26 0/1 CrashLoopBackOff 1 27s
[root@localhost ~]#
[root@localhost ~]# kubectl get all
NAME READY STATUS RESTARTS AGE
po/hello-minikube-163058685-8xj26 0/1 CrashLoopBackOff 14 49m
po/hello-minikube2-1263410966-9qj51 1/1 Running 0 38m
NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE
svc/hello-minikube 10.0.0.103 8080:30904/TCP 39m
svc/hello-minikube2 10.0.0.19 8080:30451/TCP 37m
svc/kubernetes 10.0.0.1 443/TCP 1h
NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE
deploy/hello-minikube 1 1 1 0 49m
deploy/hello-minikube2 1 1 1 1 38m
NAME DESIRED CURRENT READY AGE
rs/hello-minikube-163058685 1 1 0 49m
rs/hello-minikube2-1263410966 1 1 1 38m
[root@localhost ~]#
[root@localhost ~]# kubectl get pods
NAME READY STATUS RESTARTS AGE
hello-minikube-163058685-8xj26 0/1 CrashLoopBackOff 15 57m
hello-minikube2-1263410966-9qj51 1/1 Running 0 46m
[root@localhost ~]# kubectl logs hello-minikube-163058685-8xj26
[root@localhost ~]# kubectl logs hello-minikube2-1263410966-9qj51
172.17.0.1 - - [09/Jul/2017:02:55:25 +0000] "GET / HTTP/1.1" 200 396 "-" "curl/7.29.0"
[root@localhost ~]# kubectl exec hello-minikube2-1263410966-9qj51 env
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
HOSTNAME=hello-minikube2-1263410966-9qj51
KUBERNETES_PORT_443_TCP=tcp://10.0.0.1:443
KUBERNETES_PORT_443_TCP_PROTO=tcp
HELLO_MINIKUBE_SERVICE_HOST=10.0.0.103
HELLO_MINIKUBE_SERVICE_PORT=8080
KUBERNETES_SERVICE_PORT_HTTPS=443
HELLO_MINIKUBE_PORT_8080_TCP_PORT=8080
HELLO_MINIKUBE_PORT_8080_TCP_ADDR=10.0.0.103
KUBERNETES_SERVICE_PORT=443
HELLO_MINIKUBE_PORT_8080_TCP=tcp://10.0.0.103:8080
HELLO_MINIKUBE_PORT_8080_TCP_PROTO=tcp
KUBERNETES_SERVICE_HOST=10.0.0.1
KUBERNETES_PORT=tcp://10.0.0.1:443
KUBERNETES_PORT_443_TCP_PORT=443
KUBERNETES_PORT_443_TCP_ADDR=10.0.0.1
HELLO_MINIKUBE_PORT=tcp://10.0.0.103:8080
HOME=/root