News for hackers. Stuff that matters.
Re:Docker in Production: A retort by sktrdie on Saturday November 05, 2016 @08:13PM (#12882657)
It's great for development if it wasn't 4 to 5 times slower on Mac: https://www.reddit.com/r/docker/comments/59u1b8/why_is_docke...
Re:Docker in Production: A retort by bdcravens on Saturday November 05, 2016 @08:34PM (#12882739)
Still feels several times faster than using an option like Vagrant. (haven't found a container that didn't cold start in less than 5 seconds; 3+ minutes for common Vagrant setup is pretty common)
Re:Docker in Production: A retort by gerdesj on Saturday November 05, 2016 @08:45PM (#12882783)
(Having read the Reddit thread for a while)

Macs don't appear to have support for containers which is what Docker is. Well that is probably bollocks because they are *BSD based and I know that FreeBSD at least has a form of containerization and I seem to recall that the whole container thing was invented on a BSD - "jails".

So Docker can't run native on iStuff. You have to run it within a Linux VM. I gave up on Googling for "apple mac jail" 8)

The reason why Docker runs slowly on Macs is because it is running under emulation within a VM.

Unfortunately, Macs are not cool enough to run Docker, so there 8)

Cheers Jon

Re:Docker in Production: A retort by anoctopus on Saturday November 05, 2016 @11:15PM (#12883290)
XNU (the macOS kernel) may have BSD origins, but it doesn't have features like cgroups and process namespacing that the Linux kernel provides and the Docker runtime relies on.
Re:Docker in Production: A retort by justincormack on Sunday November 06, 2016 @05:13AM (#12884394)
Nor does it have FreeBSD jails.