Live data from Hacker News

Docker for Mac Beta Review

medium.com

71–80 of 367 posts

Re: Docker for Mac Beta Review

#72
post #66

Question: Is this compatible with OS X 10.9.x or earlier? Or is it only for the latest pieces of shit that are 10.10/10.11? edit thanks for the correction netheril96! I'm curious about the state of compatibility because I've drawn a line in the sand -- and refuse to upgrade from 10.9 (since many things seem to be getting only worse and less stable in MAC OS land :).

The latest piece is 10.11.

[deleted]

Re: Docker for Mac Beta Review

#73
I started playing around with Docker for Mac in an attempt to get my whole dev environment set up in Docker. It was really slick, especially being (re-)introduced to docker-compose which makes connecting containers very easy.

There is a ton of potential there. My biggest challenge is that the documentation hasn't quite caught up to all of the interesting stuff that is going on. I'd certainly welcome some more opinionated answers for how to develop on Docker. Specifically: how to not run apps as root, as almost all examples use root and permissions are annoying if you don't do so; how to use docker containers for both dev and prod; best practices for getting ssh key access into a container during the build phase.

But much of it Just Works at this point, I'm pretty confident that the best practices will catch up in time.

Re: Docker for Mac Beta Review

#74
post #42
post #31

I've noticed some pretty extreme performance penalties with Docker for Mac. Wherein VirtualBox would spin I'm going to guess it'll get better in time. It would be nice to get some insight into just what is burning CPU cycles. The experience besides that was really top notch IMO.

[I work on Docker for Mac] The early betas focussed on feature completeness rather than performance for filesystem sharing. In particular, we have implemented a new "osxfs" that implements bidirectional translation between Linux and OSX filesystems, including inotify/FSEvents and uid/guid mapping between the host and the container. Getting the semantics right took a while, and all the recent betas have been steadily…

> In particular, we have implemented a new "osxfs" ...

Are we going to see these changes rolled back upstream in xhyve?

Re: Docker for Mac Beta Review

#75
post #60
post #38

Earlier quoted context omitted.

That's not the case - there's only one virtual machine shared by all containers.

Oh...that's interesting. That would even be useful on Linux to enable greater resource separation between processes...say being able to lock all Docker processes down to 1-2 cores on a machine and with a hard memory limit they can't exceed.

That's already possible with cgroups. Adding a virtualization layer even on Linux would be wasteful, since Docker runs natively on Linux anyway.

Re: Docker for Mac Beta Review

#76
post #32

So it uses xhyve...does this mean Docker runs up a full hypervisor per Docker process you run? That seems a bit excessive.

I would bet money that it does not. The Virtualbox based solutions all create one VM and run all containers there -- why would they stop doing that just because they're using a different means of virtualization?

Well part of me hoped this was actually Docker for Mac, not just running Docker inside a Linux VM.

Guess what? I can do that on Windows 10 too and it works like a charm.

Re: Docker for Mac Beta Review

#77

I don't get it. Why is Docker for Mac running Linux containers? Shouldn't it be for OSX containers?

Not really, unless you are going to be running OS X in your server. You want the container in your development machine to be as close to the one that'll run in production as possible to minimize "Works on my Machine" issues.

Re: Docker for Mac Beta Review

#78
post #66

Question: Is this compatible with OS X 10.9.x or earlier? Or is it only for the latest pieces of shit that are 10.10/10.11? edit thanks for the correction netheril96! I'm curious about the state of compatibility because I've drawn a line in the sand -- and refuse to upgrade from 10.9 (since many things seem to be getting only worse and less stable in MAC OS land :).

It's hard to say until one of the Docker 4 Mac employees [hopefully] steps in. I'm also keen to find this out!

Re: Docker for Mac Beta Review

#79
post #2

Good review. One thing mentioned is that the author was able to remove Kitematic amongst other things. Kitematic is a GUI for Docker. There is currently no replacement for it.

I was under the assumption that Kitematic wouldn't work with the beta but low and behold it does. I'm not sure what it will do if you have the old Docker toolbox installed at the same time however.

I had an older version of Docker installed as well as the beta, so when I installed Kitematic nothing worked correctly until I reverted everything.

Re: Docker for Mac Beta Review

#80
There will be a fine imposed on manufactures of all x86_64 bit systems that do not run TempleOS. They must do a factory recall on their BIOS and pay a fine until it is in compliance. Write a USB driver if necessary.

It's God nigger, you lose.

God says... possession however they wandering fuller released remainest reproves stick stable audience tcosa11 buzzing believes instinctive below weights punish passible enlightening jesus temporal emptinesses physical fool implied unreal lanthorn severer partake oft sanctified

Post reply on HN