Live data from Hacker News

Docker for Mac and Windows Beta

blog.docker.com

31–40 of 250 posts

Re: Docker for Mac and Windows Beta

#31

Biggest problem with Boot2docker was volume mounting and file permissions, hope this happens soon. > 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 is one of the features mentioned in the announcement.

Re: Docker for Mac and Windows Beta

#32
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?!

You can hook into the X11 socket using Docker, but I'm not 100% certain how this could be accomplished on a OSX or Windows. You might be able to forward the socket, but I'm not nearly smart enough for that.

Re: Docker for Mac and Windows Beta

#33
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…

You should check out Dlite (which is an alternative to Dinghy) has been around for a few months: https://github.com/nlf/dlite It's been a much more friendly (read: plugin and play) than dinghy.

As mentioned in another comment here [1], we've been in touch with the author of dlite during this beta. His feedback was very useful!

[1] https://news.ycombinator.com/item?id=11352621

Re: Docker for Mac and Windows Beta

#35
post #26
post #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 li…

Nix is more difficult. With Docker, you don't need to learn much new stuff, since images are created from sequences of ordinary shell commands running on familiar distributions. Nix requires you to familiarize yourself with a new package manager and its somewhat arcane definition language. And then also the specific Nix tools for working with npm, ghc, or whatever you want to use. So the experience is very different.

In this case you could still pick homebrew as your package manager of choice. It works pretty well, is available cross platform (https://github.com/Linuxbrew/linuxbrew) and is far more simple than docker. You just have write a short shell script which installs all the dependencies via brew when not installed already (much like you'd do in a Dockerfile).

Re: Docker for Mac and Windows Beta

#38
This is v.cool, although for the Windows version it'd be great if it became possible to swap out the virtualization back-end so it's not tied to Hyper-V.

At the moment VMWare Workstation users will be a bit left out as Windows doesn't like having two hypervisors installed on the same system...

Re: Docker for Mac and Windows Beta

#39

Is the source code available? I don't see it at https://github.com/docker

From the post:

"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."

Re: Docker for Mac and Windows Beta

#40
This is an amazing announcement, but... The beta requires a NDA. The source code is also not available. This gives the impression that this will be a closed commercial product and that really takes the wind out of my sails.
Post reply on HN