TheNewNormal / coreos-osx

Local development docker/rkt CoreOS VM App for macOS made very simple
Apache License 2.0
397 stars 40 forks source link
docker rkt

CoreOS VM for macOS

CoreOS VM is macOS status bar app which allows in an easy way to control CoreOS VM on your Mac.

It leverages macOS native Hypervisor virtualisation framework of using corectl command line tool, so there are no needs to use VirtualBox or any other virtualisation software anymore.

The best use case of this App is to allow to build/test Docker and rkt images locally. You can push your Docker images to Docker Registry on 192.168.64.1:5000 run by Corectl App, to store your Docker images and share with Kubernetes Apps for macOS: Kube-solo and Kube-Cluster

App's menu looks as per image below:

CoreOS-OSX

How to install CoreOS VM for macOS

Requirements

Install:

TL;DR

The install will do the following:

/data/var/lib/docker -> /var/lib/docker
/data/var/lib/rkt -> /var/lib/rkt
/data/var/lib/etcd2 -> /var/lib/etcd2
/data/opt/bin -> /opt/bin

How it works

Just start CoreOS OSX application and you will find a small icon with the CoreOS logo in the Status Bar.

DOCKER_HOST=tcp://192.168.64.xxx:2375
ETCDCTL_PEERS=http://192.168.64.xxx:2379
Path to `~/coreos-osx/bin` where docker binary, rkt, etcdclt 
and docker-exec shell scripts are stored
/data/var/lib/docker -> /var/lib/docker
/data/var/lib/rkt -> /var/lib/rkt
/data/var/lib/etcd2 -> /var/lib/etcd2
/data/opt/bin -> /opt/bin

have fun!

Credits

Other CoreOS VM based Apps for macOS

Contributing

CoreOS VM is an open source project release under the Apache License, Version 2.0, hence contributions and suggestions are gladly welcomed!