Hacker News new | ask | show | jobs
by exception_e 3464 days ago
It is very interesting. I don't want to intrude on their thread, but if others here vouch for this technique I'll politely ask them to look into the following:

- https://blog.jessfraz.com/post/docker-containers-on-the-desk...

- http://boot2docker.io/

...has anyone here ever used this approach with nix apps that need to run on Windows "natively"? Writing a powershell script to silently install boot2docker with this special docker image wouldn't be too difficult. The DarkTable folks don't seem interesting in maintaining Win builds so this may be the perfect workaround.

NOTE: I realize that `File > Open Image` may be non-trivial, but surely there's a way to mount a host<->guest folder (e.g.: When using the application, the workspace is located in `C:\Users\$whoami\Documents\DarkTable\.jpg`)

2 comments

Boot2Docker is not for this purpose. Silently installing a VM on a Windows PC is a very bad idea. If the user is not proficient enough to know about and configure the VM, then what happens if

- B2D installs a Virtualbox instance, but Hyper-V is on. VBox can't run besides Hyper-V.

- How do you configure the resource usage for the VM?Something like Darktable requires a lot of resources

- How do you manage shared folders? VBox shared folder performance is really bad compared to native

- Do you install an X server as well?

Anyway -- it's just a bad idea.

Thanks sz4kerto. I'm glad I got some thoughts here before posting that in their PR (I obviously won't post it now because of the points you brought up).

I guess a user that would be comfortable with b2d or vbox would just have those running anyways!

Note: for you question about X, please check out https://blog.jessfraz.com/post/docker-containers-on-the-desk...