OpenShift origin playground
- Docker 17.05.0-ce+
./start-openshift-origin
https://localhost:8443
test,test
docker exec -it origin bash
If you get the following error:
9065 node.go:282] failed to run Kubelet: failed to create kubelet: misconfiguration: kubelet cgroup driver: "systemd" is different from docker cgroup driver: "cgroupfs"
The issue is caused due to using cgrougfs as Cgroup Driver for Docker. You can verify your Docker config by runnin
docker info | grep Cgroup
Cgroup Driver: cgroupfs
Add the following arg to your (or create it) /etc/systemd/system/docker.service.d/docker-thinpool.conf:
[Service]
ExecStart=/usr/bin/dockerd --exec-opt native.cgroupdriver=systemd
And restart docker-related services
systemctl daemon-reload
systemctl restart docker.service
You should see now the right Cgroup driver setup
docker info | grep Cgroup
Cgroup Driver: systemd
- Download latest release and uncompress it
sudo curl -L https://github.com/dhiltgen/docker-machine-kvm/releases/download/v0.10.0/docker-machine-driver-kvm-ubuntu16.04 -o /usr/local/bin/docker-machine-driver-kvm
sudo chmod +x /usr/local/bin/docker-machine-driver-kvm
sudo apt install libvirt-bin qemu-kvm
sudo usermod -a -G libvirtd $USER
newgrp libvirtd
sudo /usr/sbin/kvm-ok # Check if KVM is running fine
$ minishift> ./minishift start
- virtualbox
$ minishift> ./minishift start --vm-driver virtualbox
minishift oc-env
Checkout here