minimesos 0.11.1 - Docker on Mac and improved default resources

February 17, 2017 by Frank Scholten

Apache Mesos


Today we released minimesos 0.11.1. In this version we made a couple of improvements. Docker on Mac is now supported, the default resources of a new minimesos cluster are increased and the Marathon command is now configurable. You can install the new version using the usual installer command: curl -sSL https://minimesos.org/install | sh. The Docker images are available on Docker Hub and the jar is available via Jitpack. Minimesos is the experimentation and testing tool for Apache Mesos and features a Vagrant-like workflow and a Java API.

Docker on Mac support

By popular request we now support Docker on Mac! Docker on Mac runs Docker containers inside xhyve, a lightweight virtualization solution. In order for minimesos to communicate with the containers the port of the master has to be mapped to the port on the VM. Therefore when minimesos starts and detects it is running on Mac OS X it will automatically run with --mapPortsToHost.

 
$ minimesos up 
Minimesos cluster is running: 1276116348
Mesos version: 1.0.0
export MINIMESOS_NETWORK_GATEWAY=172.17.0.1
export MINIMESOS_AGENT=http://172.17.0.5:5051; export MINIMESOS_AGENT_IP=172.17.0.5
export MINIMESOS_ZOOKEEPER=zk://172.17.0.3:2181/mesos; export MINIMESOS_ZOOKEEPER_IP=172.17.0.3
export MINIMESOS_MARATHON=http://172.17.0.6:8080; export MINIMESOS_MARATHON_IP=172.17.0.6
export MINIMESOS_CONSUL=http://172.17.0.7:8500; export MINIMESOS_CONSUL_IP=172.17.0.7
export MINIMESOS_MASTER=http://172.17.0.4:5050; export MINIMESOS_MASTER_IP=172.17.0.4
You are running Docker on Mac so use localhost instead of container IPs for Master, Marathon, Zookeepr and Consul
	
	

Default resources

We increased the default resources of a default minimesos cluster to 4 and the amount of ram to 1024 MB


$ minimesos init
Initialized minimesosFile in this directory
$ cat minimesosFile
...
 cpu {
   role = "*"
   value = 4
  }

 disk {
   role = "*"
   value = 2000
 }

 mem {
   role = "*"
   value = 1024
 }
...
	
	

Keep in touch

Thanks for reading! Keep in touch by commenting on the blog, talking to us at @minimesos and @ContainerSoluti or ask a question on the mailing list. Do you have an idea on how to improve minimesos? Please open an issue or add a PR at the minimesos Github repo. We hope you find minimesos useful. See you next time!

Add a comment

Frank Scholten

Frank Scholten