Skip to content

Instantly share code, notes, and snippets.

@gbraad
Last active June 28, 2018 09:05
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gbraad/18607310e0b122eb3790558e6f4d0795 to your computer and use it in GitHub Desktop.
Save gbraad/18607310e0b122eb3790558e6f4d0795 to your computer and use it in GitHub Desktop.
Eclipse Che on Minishift

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 \
       -v /mnt/sda1/chedata:/data:Z \
       --security-opt label:disable \
       -e CHE_DOCKER_SERVER__EVALUATION__STRATEGY=docker-local \
       eclipse/che-server

exec: "docker-proxy": executable file not found in $PATH.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment