Docker for photo management


Ashe

Recommended Posts

digiKam exists on Linux  but not seen a docker for that

 

That's because it runs as an X11 graphical layer on top of KDE. It is not a web-based user interface. You won't be able to run that inside a Docker.

 

You'd have better luck trying to run it inside a VM or on a Win/Mac desktop.

Link to comment

http://fabiorehm.com/blog/2014/09/11/running-gui-apps-with-docker/

 

still what I consider land of the geek though

 

Yeah and what they have you do isn't bad at all. It's this volume mapping line that I'm not certain of: -v /tmp/.X11-unix:/tmp/.X11-unix . If that's absolutely required or not. It's bad news if it is.

 

If it is, then that requires unRAID to have native X-windows support. If that's the case then you'd have to first setup X-windows server on your PC, setup unRAID display forwarding to your PC, then setup the docker container to forward X to unRAID which forwards it to your PC.

 

If that volume mapping isn't needed you might be able to get away with just setting up X-windows server on your PC, then setting the docker with DISPLAY setting to be your remote X-Windows server.

 

But at that point, you might as well just run the program natively on your PC anyways!

Link to comment

Yeah and what they have you do isn't bad at all. It's this volume mapping line that I'm not certain of: -v /tmp/.X11-unix:/tmp/.X11-unix . If that's absolutely required or not. It's bad news if it is.

 

....there are other ways, like using VNC or Xpra+Xephyr, where AFAIU you only need a fake GPU/X11-device.

This basically summarizes it quite well, I think: https://pelle.io/delivering-gui-applications-with-docker/

 

Here's an example with Tor-Browser https://github.com/paulczar/docker-torbrowser, using Xpra...don't see any use of  the .X11 folders here.

Edit: for the Xpra+Xephyr method, you need to run a X11 server on your local client machine, obviously.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.