It would be nice if we could support Docker for Mac and Windows.
or we could try get hyperkube to run inside Docker for Mac and Windows as a regular docker container?
http://kubernetes.io/docs/getting-started-guides/docker/
kubernetes-anywhere (https://github.com/kubernetes/kubernetes-anywhere)
has some ways to run Kubernetes on Docker for Mac, but it'd be awesome to
get hyperkube properly working on Docker for Mac.
Looks like I can access the VM easy enough.
$ ls -l ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/tty
lrwxr-xr-x 1 preilly staff 12 Jun 22 11:27 /Users/preilly/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/tty -> /dev/ttys000
$ screen /dev/ttys000
[detached]
This should be fairly easy to do...
Freeing unused kernel memory: 1384K (ffff880001aa6000 - ffff880001c00000)
tsc: Refined TSC clocksource calibration: 1199.135 MHz
clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x1148ea92c58, max_idle_ns: 440795258892 ns
OpenRC 0.21.723ca9e is starting up Linux 4.4.13-moby (x86_64)
* Mounting /proc ... [ ok ]
* Mounting /run ... * /run/openrc: creating directory
* /run/lock: creating directory
* /run/lock: correcting owner
* Caching service dependencies ... [ ok ]
* Mounting devtmpfs on /dev ... [ ok ]
* Mounting /dev/mqueue ... [ ok ]
* Mounting /dev/pts ... [ ok ]
* Mounting /dev/shm ... [ ok ]
* Mounting /sys ... [ ok ]
* Mounting security filesystem ... [ ok ]
* Mounting debug filesystem ... [ ok ]
* Mounting fuse control filesystem ... [ ok ]
* Mounting persistent storage (pstore) filesystem ... [ ok ]
* Mounting cgroup filesystem ... [ ok ]
* Starting busybox mdev ... [ ok ]
* Loading hardware drivers ... [ ok ]
* Checking local filesystems ... [ ok ]
* Remounting filesystems ... [ ok ]
* Mounting local filesystems ... [ ok ]
* Setting system clock using the hardware clock [UTC] ... [ ok ]
* Configuring host block device ... [ ok ]
* Activating swap devices ... [ ok ]
* Configuring host settings from database ... [ ok ]
* Configuring kernel parameters ... [ ok ]
* Creating user login records ... [ ok ]
* Wiping /tmp directory ... [ ok ]
* Starting networking ... * lo ... [ ok ]
* eth0 ... [ ok ]
* eth1 ...ip: ioctl 0x8913 failed: No such device
[ !! ]
* Testing DNS resolution ... [ ok ]
* Setting hostname ... [ ok ]
* Starting busybox klogd ... [ ok ]
* Starting busybox syslog ... [ ok ]
* Initializing random number generator ... [ ok ]
* Starting busybox acpid ... [ ok ]
* Configuring binfmt misc ... [ ok ]
* Starting chronyd ... [ ok ]
* Starting FUSE socket passthrough ... [ ok ]
* Setting up proxy port service ... [ ok ]
* Starting docker socket vsock passthrough ... [ ok ]
* Starting Docker ... [ ok ]
* Checking system state ...2016/06/22 19:33:12 Failed to bind to hvsock port: 0x61
โ Drive found: vda
โ Drive mounted: /dev/vda2 on /var type ext4 (rw,relatime,data=ordered)
โ Network connected: inet addr:192.168.65.2 Bcast:192.168.65.7 Mask:255.255.255.248
โ Process transfused running
โ Process dockerd running: /usr/bin/dockerd --pidfile=/run/docker.pid -H tcp://0.0.0.0:2375 -H unix:///var/run/docker.sock
โ Process containerd running: docker-containerd -l unix:///var/run/docker/libcontainerd/docker-containerd.sock --shim docker-containerd-shim --metrics-interval=0 --start-timeout 2m --state-dir /var/run/docker/libcontainerd/containerd --runtime docker-runc --debug
โ Docker daemon working
โ Diagnostics server running: /usr/bin/diagnostics-server
* Adjusting oom killer settings ... [ ok ]
Welcome to Moby alpha
Kernel 4.4.13-moby on an x86_64 (/dev/ttyS0)
## .
## ## ## ==
## ## ## ## ## ===
/"""""""""""""""""___/ ===
~~~ {~~ ~~~~ ~~~ ~~~~ ~~~ ~ / ===- ~~~
\______ o __/
\ \ __/
\____\_______/
moby login:
Hey,
Running minikube inside a system based on Docker for Mac is definitely on our roadmap. We're tracking this work over in https://github.com/kubernetes/minikube/issues/99. Would you mind posting your work over there, and closing this as a duplicate?
Thanks @dlorenc didn't see the other issue. Now closing..... I've got https://github.com/kubernetes/minikube/issues/99 problems and a kube ain't one. ๐
@preillyme what happened to the and Windows part of the issue :) ?
Agreed, there should be a new issue for Docker for Windows support - ideally something that works nicely from within the new Windows Subsystem for Linux, as well.
Most helpful comment
Thanks @dlorenc didn't see the other issue. Now closing..... I've got https://github.com/kubernetes/minikube/issues/99 problems and a kube ain't one. ๐