Please help me understand docker GUIs.
Thank you for your 'rambles' and examples, they were great to get started with. I have been using your jess/chrome to try stuff. It works by itself. However, a lot of things weren't explained.
-
Besides the parameters tacked onto
docker run, are there specific things you need to install/configure in thedockerfileto enable the GUI functionality? -
If I wish to adapt it such that the docker runs in the terminal window as usual, and at a point when the user wishes, analogous to how a lay-user decides when to open chrome by clicking on it manually, how can I do that?
/bin/bash -c "google-chrome"returns
[8459:8459:0803/034050.015830:ERROR:zygote_host_impl_linux.cc(89)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
is this an error specific to chrome?
My end goal is to have R/R-studio and Circos usable in a docker container, opening a GUI window when used. I have already found a resource that gives R an interface through the browser, but haven't found something like that for Circos. Is this a feasible task?
Issue-Label Bot is automatically applying the label question to this issue, with a confidence of 0.83. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
Besides the parameters tacked onto docker run, are there specific things you need to install/configure in the dockerfile to enable the GUI functionality?
Basically no. GPU acceleration depends on MESA or NVIDIA drivers in image.
For some insight have a look at https://github.com/mviereck/x11docker/wiki#howtos-for-custom-setups-without-x11docker for some xplanations how to set up and run GUI containers.
My end goal is to have R/R-studio and Circos usable in a docker container, opening a GUI window when used.
You can use x11docker with option --interactive. That allows you to run terminal commands in container as usual and also run a GUI in this container with its terminal command.