Skip to content

Instantly share code, notes, and snippets.

View xludx's full-sized avatar

Juha Kovanen xludx

View GitHub Profile
@xludx
xludx / 0_reuse_code.js
Created May 6, 2014 06:55
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
Verifying that +ludx is my Bitcoin username. You can send me #bitcoin here: https://onename.io/ludx
@xludx
xludx / 00_OSX_Docker_Machine_Setup.md
Created May 16, 2016 22:00 — forked from bitjockey42/00_OSX_Docker_Machine_Setup.md
Use native virtualization on OS X docker with xhyve

What this?

So one of the painful points of using docker on OS X is that you need to run a virtualbox VM, which often suffers from performance issues. With xhyve, a OS X virtualization system, and docker-machine-xhyve you can now have docker use the native OS X hypervisor to run containers.

No more dealing with virtualbox shenanigans!

In this script, I've also set up a way to autoconfigure terminal sessions to load docker's environment vars (dependent on docker-machine) so you do not have to run eval $(docker-machine env whatever) every time you open a new terminal window.

Requirements