Richard Bucker

hodgepodge of Docker notes as of today

Posted at — Oct 16, 2014

Updating the latest “box” core image for your virtualbox installation requires one quick command. vagrant box update –box coreos-alpha “Yes”, CoreOS will update itself based on the LockSmith settings on your system but if you are running a multinode cluster that you might be repeatedly launching and destroying… a normal vagrant box update will be processed for each node in the cluster (running or not).I was tinkering with the latest deis source and I noticed that there were a number of patches that might have effected my experience but since the project only provides binaries of releases I would need to perform the compilation myself. The process was never completed but I did notice that their Makefile depended on boot2docker in order to deploy a working compiler environment. Being a devops build engineer I found this interesting and comforting even though it did not work properly.Deis is a cool project. It’s probably the furthest ahead of all of the Docker PaaS frameworks. Sadly it’s terribly buggy, documentation is very thin, And the docs are thinest where it might matter most in the open source arena. By comparison boot2docker provides some great information for generating your own boot2docker image.One of the big challenges with Vagrant is getting a boot partition bigger than the default 40GB. The defacto method for configuring additional drive space seems to be host mounted storage or add a virtual drive. There is nothing entirely wrong with this approach, however, boot2docker offers a default 20GB boot storage or you can resize the drive with these instructions; edit the config file here:$HOME/.boot2docker/profileBOOT2DOCKER_PROFILE=~/.boot2docker/profile boot2docker initBOOT2DOCKER_PROFILE=~/.boot2docker/profile boot2docker upor since the latest “disksize” CLI options are not implemented yet… then use these instructions to roll you’re own boot2docker-cli.This looks like a simple way to combine fig and boot2docker. Made better with a bigger drive as I kept running out of disk space. I’m still trying to determine the best way to develop micro-services in a sandbox and then incorporate sidekicks to integrate them all.