6 ms·
The issue with Docker is that it doesn't support a GUI at all. Jupyter (and it's ilk) work for some needs, but I haven't found a good one that works for many o
by gilbetron 9y ago
The issue with Docker is that it doesn't support a GUI at all. Jupyter (and it's ilk) work for some needs, but I haven't found a good one that works for many of the (weird) libraries/applications that scientists use that need a GUI. My wife does IT for Physics/Astronomy and would loves something like Docker, but supports a GUI. There's an option of doing X-Windows trickery, but that's very fragile.
Any ideas?
- chickenthief 9y agohttp://datacabinet.info http://datacabinet.info Disclosure: I work on this project.
- mbreese 9y agoI think your definition of GUI and the parents are very different.
- chickenthief 9y agoWe do x-windows trickery to enable inline graphics within Jupyter natively.
- indescions_2018 9y agoA lot of custom lab software is written in things like Python3 / PyQT5. While I prefer web interfaces, and think Chrome is as portable an interface as any. Its parcel to a more germane problem I have seen across domains: a way to visually peek into long running server process or computation progress.
- akhilcacharya 9y agoWhat about just using Vagrant with GUI VBox?
- gilbetron 9y agoIs this robust across Windows, Mac, and Linux?
- akhilcacharya 9y agoI'm pretty sure, yeah.
- gilbetron 9y agoCool, giving it a try today - thanks :)
- AtomicOrbital 9y agoat least on a linux host docker can support running GUI applications just fine
- gilbetron 9y agoThat's the issue - the environment consists of Windows, Mac, and Linux, so it isn't as simple as the Linux case :/
- diffeomorphism 9y agohttps://blog.jessfraz.com/post/docker-containers-on-the-desktop/ https://blog.jessfraz.com/post/docker-containers-on-the-desk... Not fragile at all. Just mount the appropriate socket and there you go. Alernatively, you can also run vnc or rdp inside the container: https://gist.github.com/gmacario/11385611 https://gist.github.com/gmacario/11385611
- gilbetron 9y agoA robust solution for Windows, Mac, and Linux is needed :/
- mbreese 9y agoDoesn't Docker with with VMs on Windows and Mac? (At least I know it does on the Mac). Maybe it's still possible to mount an X11 socket from Windows/Mac to the VM (and then to Docker?)?? It's still trickery, but if you can get that to work on the Mac and Windows Docker clients, then you could distribute the Linux version of the custom apps and everyone is happy :)
- gilbetron 9y agoYeah, an X11 solution is one path forward - but it seems to be a bit brittle on Windows and Mac. But it is possible!
- ori_b 9y agoFlatpak was designed for packaging desktop applications, but it seems like it would fit your needs reasonably well.
- gilbetron 9y agoEnvironment is Windows, Mac, and Linux. This looks linux only.
- KyleOS 9y agoAt Kyso.io we provide a ready-made docker image (with all the popular data science and machine learning libraries) in the Jupyter environment. With our GUI it's super simple to start up projects with one click. Use our terminal to easily install additional packages.
- AlexCoventry 9y agoI have found it useful for some purposes to install lubuntu-desktop and tigervnc in a docker container. Leads to enormous images, but it runs GUI applications via a VNC viewer like remmina.
- nunez 9y agoI was able to get Firefox running from a Docker container pretty easily. Just need to export your local $DISPLAY to your container with the -e switch (by IP) and volume-mount your .Xauthority directory. You would have to do similar things if this were running in a VM.