Hacker News new | ask | show | jobs
by dekz 4614 days ago
I'm building docker images on 64-bit linux (ubuntu) and maintaining a repo of Dockerfiles, instead of uploading to the docker repository.

You need a recent version of the linux kernel that supports Linux Containers. It's best if you can run Ubuntu 13 somewhere.

> Are people running Linux VMs on their Macs to build containers?

FreeBSD supports jails which are similar to linux containers in a way, but OSX does not. So unfortunately you're going to have to run a VM, checkout vagrant and docker though. [1]

[1]: http://docs.docker.io/en/latest/installation/vagrant/

1 comments

OSX has seatbelts[1], which is similar to jails. They are just clunky and not documented. Chrome uses them for sandboxing browser processes[2].

[1] https://developer.apple.com/library/mac/documentation/Darwin...

[2] http://www.chromium.org/developers/design-documents/sandbox/...

No amount of jails or seatbelts is going to allow you to run a Linux executable on a Darwin kernel, though.