Skip to content

Minishift

Endi S. Dewata edited this page Sep 14, 2023 · 1 revision

Table of Contents

Overview

This document describes how to install and use Minishift.

See also Getting Started with Minishift.

Installing Dependencies

$ dnf install libvirt qemu-kvm
$ usermod -a -G libvirt $(whoami)
$ newgrp libvirt
$ curl -L https://github.com/dhiltgen/docker-machine-kvm/releases/download/v0.10.0/docker-machine-driver-kvm-centos7 -o /usr/local/bin/docker-machine-driver-kvm
$ chmod +x /usr/local/bin/docker-machine-driver-kvm

Installing Minishift

To download and install Minishift, execute the following commands:

$ wget https://github.com/minishift/minishift/releases/download/v1.34.2/minishift-1.34.2-linux-amd64.tgz
$ tar xzvf minishift-1.34.2-linux-amd64.tgz
$ cd minishift-1.34.2-linux-amd64
$ export PATH=$PWD:$PATH

Starting Minishift

$ minishift start
...
OpenShift server started.

The server is accessible via web console at:
    https://192.168.42.123:8443/console

You are logged in as:
    User:     developer
    Password: <any value>

To login as administrator:
    oc login -u system:admin

Deploying Applications

See OpenShift 3 Deploying Application.

Getting Cluster IP

$ minishift ip

See also minishift ip.

Accessing Minishift VM

To access Minishift VM:

$ minishift ssh

To run command in Minishift VM:

$ minishift ssh -- docker ps

See also minishift ssh.

Deleting Minishift VM

$ minishift delete

Certificates

Web Console

  • Subject DN: CN=127.0.0.1
  • Issuer DN: CN=openshift-signer@155520401

See Also