3 ms·
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 ver
by dekz 13y 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/ http://docs.docker.io/en/latest/installation/vagrant/
- TheMakeA 13y agoOSX 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/Reference/ManPages/man1/sandbox-exec.1.html https://developer.apple.com/library/mac/documentation/Darwin... [2] http://www.chromium.org/developers/design-documents/sandbox/osx-sandboxing-design http://www.chromium.org/developers/design-documents/sandbox/...
- wmf 13y agoNo amount of jails or seatbelts is going to allow you to run a Linux executable on a Darwin kernel, though.