View tomorrow-night-bright.vssettings
<UserSettings>
<ApplicationIdentity version="10.0"/>
<ToolsOptions>
<ToolsOptionsCategory name="Environment" RegisteredName="Environment"/>
</ToolsOptions>
<Category name="Environment_Group" RegisteredName="Environment_Group">
<Category name="Environment_FontsAndColors" Category="{1EDA5DD4-927A-43a7-810E-7FD247D0DA1D}" Package="{DA9FB551-C724-11d0-AE1F-00A0C90FFFC3}" RegisteredName="Environment_FontsAndColors" PackageName="Visual Studio Environment Package">
<PropertyValue name="Version">2</PropertyValue>
<FontsAndColors Version="2.0">
<Categories>
View README.md

Use Minishift docker to run Eclipse Che

$ minishift start \
  --cpus 2 \
  --memory 4096 \
  --iso-url=https://github.com/minishift/minishift-centos-iso/releases/download/v1.0.0-rc.3/minishift-centos7.iso
$ minishift ssh "mkdir -p /mnt/sda1/chedata"
$ alias minidocker="docker -H tcp://`minishift ip`:2376 \
  --tls --tlscacert=$PWD/.minishift/certs/ca.pem
View README.md

Run Eclipse Che on Fedora 25

$ docker run -p 8080:8080 \
       --name che \
       -v /var/run/docker.sock:/var/run/docker.sock \
       -v /var/chedata:/data:Z -e CHE_HOST=10.0.21.42 -e CHE_DOCKER_IP_EXTERNAL=10.0.21.42 \
       -e CHE_DOCKER_SERVER__EVALUATION__STRATEGY=docker-local --security-opt label:disable \
       rhche/che-server  # eclipse/che-server
View README.md
$ minishift start \
  --cpus 2 \
  --memory 4096 \
  --iso-url=https://github.com/minishift/minishift-centos-iso/releases/download/v1.0.0-rc.3/minishift-centos7.iso
$ alias minidocker="docker -H tcp://`minishift ip`:2376 \
  --tls --tlscacert=$PWD/.minishift/certs/ca.pem
  --tlscert=$PWD/.minishift/certs/cert.pem
  --tlskey=$PWD/.minishift/certs/key.pem"
$ minidocker info
View README.md

Eclipe Che on Minishift

$ minishift start --cpu 4 --memory 8192 --iso-url https://github.com/minishift/minishift-centos-iso/releases/download/v1.0.0-rc.3/minishift-centos7.iso
$ minishift ssh "sudo setenforce 0"  # disable SELinux
$ minishift ssh "sudo mkdir -p /mnt/sda1/chedata"
$ alias minidocker="docker -H tcp://`minishift ip`:2376 --tls --tlscacert=$PWD/.minishift/certs/ca.pem --tlscert=$PWD/.minishift/certs/cert.pem --tlskey=$PWD/.minishift/certs/key.pem"
$ minidocker docker run -p 8088:8080 \
       --name che \
       -v /var/run/docker.sock:/var/run/docker.sock \
View README.md

Minishift hostfolder (manual mounting)

Motivation

This allows a developer to mount their home directory inside the Minishift/CDK image, so they don't have to synchronize. This is to deal with the lack of Hyper-V offering a shared folder option like Guest Additions allows on Virtualbox for instance. In CDK a feature for sshfs was offered, but for Windows-based developers it is better to use the tools they are used to (such as not installing a ssh daemon, but using CIFS-based shares). Note: minikube only offers a similar functionality due to the fact of using Guest Additions in the B2D(Boot2Docker) image.

View README.md
minishift start                                                                                                                                           
Starting local OpenShift cluster using 'kvm' hypervisor...
 22.37 MB / 22.37 MB [=============================================================================================================================================================================================================] 100.00% 0s
Provisioning OpenShift via '/home/gbraad/.minishift/cache/oc/v1.4.1/oc [cluster up --use-existing-config --host-config-dir /var/lib/minishift/openshift.local.config --host-data-dir /var/lib/minishift/hostdata --host-volumes-dir /var/lib/minishift/openshift.local.volumes]'
-- Checking OpenShift client ... OK
-- Checking Docker client ... OK
-- Checking Docker version ... OK
-- Checking for existing OpenShift container ... OK
-- Checking for openshift/origin:v1.4.1 image ... 
View README.md
netcfg -d

reboot

netsh winsock reset catalog
netsh int ipv4 reset reset.log
View README.md
Feb 09 00:38:33 localhost.localdomain rc.local[990]: drwxrwxrwt.  8 root root 4096 Feb  9 00:38 .
Feb 09 00:38:33 localhost.localdomain rc.local[990]: dr-xr-xr-x. 18 root root 4096 Feb  9 00:38 ..
Feb 09 00:38:33 localhost.localdomain rc.local[990]: drwxrwxrwt.  2 root root 4096 Feb  9 00:30 .ICE-unix
Feb 09 00:38:33 localhost.localdomain rc.local[990]: drwxrwxrwt.  2 root root 4096 Feb  9 00:30 .Test-unix
Feb 09 00:38:33 localhost.localdomain rc.local[990]: drwxrwxrwt.  2 root root 4096 Feb  9 00:30 .X11-unix
Feb 09 00:38:33 localhost.localdomain rc.local[990]: drwxrwxrwt.  2 root root 4096 Feb  9 00:30 .XIM-unix
Feb 09 00:38:33 localhost.localdomain rc.local[990]: drwxrwxrwt.  2 root root 4096 Feb  9 00:30 .font-unix
Feb 09 00:38:33 localhost.localdomain rc.local[990]: drwx------.  3 root root 4096 Feb  9 00:38 systemd-private-5e6a8ae5552749958934717f097aec11-systemd-hostnamed.service-6vY789
Feb 09 00:38:33 localhost.localdomain rc.local[990]: before move
View README.md

Run powershell or CMD as Administator and start:

> powershell -ExecutionPolicy unrestricted

This starts a new instance of powershell which allowss execution of scripts that are downloaded without a signature.

$ iwr https://chocolatey.org/install.ps1 -UseBasicParsing | iex