LoginSignup
4
4

More than 5 years have passed since last update.

minishiftのインストール(Windows10+VirtualBox)

Last updated at Posted at 2017-07-15

OpenShiftのミニバージョン?のminishiftをWindows10 Home Edition(意識が低い)に入れてみました。

ダウンロード

ここら辺から適当にダウンロード
https://github.com/minishift/minishift/releases
#virtualboxもなかったらインストール。

インストール前に少し設定

cmdを管理者権限で開いてこれをうつ。
set path=<ダウンロードしてきたminishiftのexeファイルパス>;%PATH%

メモリがデフォルトで2GBでさすがにきついので4GBにしてみる。
minishift config set memory 4096

minishift起動

VirtualBoxの場合はオプションがいる。(HyperVがほしい)
minishift start --vm-driver=virtualbox

こんな感じではじまる。

Starting local OpenShift cluster using 'virtualbox' hypervisor...
-- Checking OpenShift client ... OK
-- Checking Docker client ... OK
-- Checking Docker version ... OK
-- Checking for existing OpenShift container ...
   Deleted existing OpenShift container
-- Checking for openshift/origin:v1.5.1 image ... OK
-- Checking Docker daemon configuration ... OK
-- Checking for available ports ... OK
-- Checking type of volume mount ...
   Using Docker shared volumes for OpenShift volumes
-- Creating host directories ... OK
-- Finding server IP ...
   Using 192.168.99.101 as the server IP
-- Starting OpenShift container ...
   Starting OpenShift using container 'origin'
   Waiting for API server to start listening
   OpenShift server started
-- Adding default OAuthClient redirect URIs ... OK
-- Installing registry ... OK
-- Installing router ... OK
-- Importing image streams ... OK
-- Importing templates ... OK
-- Login to server ... OK
-- Creating initial project "myproject" ... OK
-- Removing temporary directory ... OK
-- Checking container networking ... OK
-- Server Information ...
   OpenShift server started.
   The server is accessible via web console at:
       https://192.168.99.101:8443

   You are logged in as:
       User:     developer
       Password: developer

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

おわり。

4
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
4