Live data from Hacker News

Docker for Mac and Windows Beta

blog.docker.com

11–20 of 250 posts

Re: Docker for Mac and Windows Beta

#12
post #5

Sounds like https://github.com/nlf/dlite

[I work at Docker on the announced Mac app]

Nathan LaFreniere (the author of dlite) is awesome, and we've been exchanging tips and tricks and areas where we can collaborate. He knew exactly where to press to find bugs in our earlier betas...

Re: Docker for Mac and Windows Beta

#13

Unfortunately, despite the title, Docker still does not run natively on a Mac or on Windows. It runs only inside a Linux VM. From the OP: "The Docker engine is running in an Alpine Linux distribution on top of an xhyve Virtual Machine on Mac OS X or on a Hyper-V VM on Windows"

The difference between this and docker toolbox, is that important parts of docker are now native (in a way). Eg. filesystem and apparently networking.

This is achieved by using the native virtualisation support on OSX / Windows instead of Virtual Box and working closely with Apple and Microsoft.

Re: Docker for Mac and Windows Beta

#15
post #8
post #4

> Faster and more reliable: no more VirtualBox! I'm a Docker n00b, still don't know what it can do exactly. Can Docker replace Virtualbox? I guess only for Linux apps, and suppose it won't provide a GUI, won't run Windows to use Photoshop?!

Let me explain Docker for Mac in a little more detail [I work on this project at Docker]. Previously in order to run Linux containers on a Mac, you needed to install VirtualBox and have an embedded Linux virtual machine that would run the Docker containers from the Mac CLI. There would be a network endpoint on your Mac that pointed at the Linux VM, and the two worlds are quite separate. Docker for Mac is a native Mac…

xhyve isn't exactly production ready (and the main repo hasn't been updated for a while). Did you guys actually solve some of the major problems (e.g., https://github.com/mist64/xhyve/issues/86 - crash coming back from sleep) or is that an expected part of the beta experience?

Re: Docker for Mac and Windows Beta

#16
post #9

"the simplest way to use Docker on your laptop" I think they forgot about Linux :)

They said simplest :)

If you purchase a laptop knowing that you will be running Linux and doing a little bit of research up front, it is every bit as simple as running a laptop with Windows or OS X.

Re: Docker for Mac and Windows Beta

#18
post #3

If I had a yearly quota on HN for upvotes, I'd use all of them on this. > Volume mounting for your code and data: volume data access works correctly, including file change notifications (on Mac inotify now works seamlessly inside containers for volume mounted directories). This enables edit/test cycles for “in container” development. This (filesystem notifications) was one of the major drawbacks for using Docker on M…

We'd love to get your feedback on the new filesystem engine in the Docker for Mac app. It's been a ton of work to get right, and there a few corner cases in the current beta that we're squashing, but overall things "just work" for my day-to-day Linux development on my Mac using the current beta.

At this stage, pointing it to the weirdest and most wonderful filesystem stressers you can find is welcome. We'll leap on any issues you find...

Re: Docker for Mac and Windows Beta

#19
Very excited about this. Docker Machine and VirtualBox can be a rough experience.

> Many of the OS-level integration innovations will be open sourced to the Docker community when these products are made generally available later this year.

Does this mean it is closed right now?

Re: Docker for Mac and Windows Beta

#20
If you're using docker on mac, you're probably not using it there for easy scaling (which was the reason docker was created back then), but for the "it just works" feeling when using your development environment. But docker introduces far too much incidental complexity compared to simply using a good package manager. A good package manager can deliver the same "it just works" feeling of docker while being far more lightweight.

I've wrote a blog post about this topic a few months ago, check it out if you're interested in a simpler way of building development environments: https://www.mpscholten.de/docker/2016/01/27/you-are-most-lik...

Post reply on HN