*** openstack has joined #kata-general | 02:37 | |
*** ChanServ sets mode: +o openstack | 02:37 | |
*** sjas_ has joined #kata-general | 04:36 | |
*** sjas has quit IRC | 04:39 | |
*** sjas_ is now known as sjas | 06:08 | |
*** gwhaley has joined #kata-general | 08:02 | |
*** popey_ has joined #kata-general | 09:16 | |
*** popey has quit IRC | 09:18 | |
*** popey_ is now known as popey | 09:18 | |
*** gwhaley has quit IRC | 11:03 | |
*** gwhaley has joined #kata-general | 12:16 | |
*** annabelleB has joined #kata-general | 13:55 | |
*** annabelleB has quit IRC | 14:59 | |
*** annabelleB has joined #kata-general | 15:07 | |
*** gregg10_ has joined #kata-general | 15:15 | |
gregg10_ | Hello Everyone, just wondering if there is a way to run GUI applications within Kata containers? | 15:15 |
---|---|---|
xzr | Hey, anyone running Kata on Atomic? Could use some tips on the setup | 15:31 |
gwhaley | hi @gregg10_ - I don't think anybody has tried that to my knowledge - but, having a very quick search, it might be possible to run an X app inside and use XDISPLAY to route the output to the host (or other) X display server. You'll probably have to punch a bunch of holes through the network port mapping, and we don't (cannot) support '--net=host'. feel free to open an Issue on github repos for more discussion maybe? | 15:36 |
gwhaley | @xzr - a quick search shows atomic is based on docker of docker/k8s, yes? In that case, I expect installing kata into the k8s atomic is using 'may just work'(tm) - but, I don't remember/know of anybody trying it ... if you do give it a spin and get stuck then we're here to try and understand and try to resolve any blockers etc :-) | 15:38 |
xzr | gwhaley: for what I've understood so far it's pretty much rhel's version of coreos | 15:38 |
xzr | with k8s/docker bundled in | 15:39 |
xzr | I'll try some more tinkering tomorrow and see where I get | 15:40 |
gwhaley | xzr: great. Note btw, there is normally a bot that relays this irc to the slack as well, but it is down at the minute - many folks may be on slack and not here at the moment, so you may wish to feed back to slack and particularly on github, to get coverage :-) | 15:41 |
*** annabelleB has quit IRC | 15:41 | |
xzr | cheers, I'll do that :p | 15:41 |
xzr | google didn't really produce any results for the atomic+kata combo so might be slightly untreaded ground | 15:41 |
*** fiddletwix has quit IRC | 15:41 | |
gwhaley | xzr: indeed, I think you may be breaking new ground :-) This might help for the k8s integration side: https://github.com/kata-containers/documentation/blob/master/how-to/how-to-use-k8s-with-cri-containerd-and-kata.md | 15:47 |
*** annabelleB has joined #kata-general | 15:51 | |
gregg10_ | @ghaley - thanks for information, i was trying with the DISPLAY environment path but no luck, keeps saying it can't open display :0.0... this process works with docker, but not with kata so far... i will open up an issue, thanks for the help! | 16:14 |
gwhaley | gregg10_ - on docker, did you use --net=host or --privileged maybe - as that probably gets you the direct network access. On kata you will probably have to hand configure the port mapping on the docker run line - but, I don't know what ports (and/or how that is going to work if anything is ephemeral) etc. | 16:27 |
gregg10_ | actually what I do for docker is bind mount /tmp/.X11-unix and allow xhost for all connections then export the DISPLAY environment variable in the container, and that seems to do the trick with all the GUI apps I have tried, one thing I noticed is that docker binds with tmpfs and kata mounts as type 9p | 16:32 |
gwhaley | @gregg10_ - the problem you will have there I think is that that /tmp/.X11-unix dir on the host containers what I suspect are host local sockets - and as the kata container is running inside a VM, even if it can see those sockets, I suspect it cannot open/use them as they are not in 'its kernel' - basically, are on a different machine. So, my guess is you cannot use that same trick with kata - you will have to use real remote netwo | 16:36 |
gwhaley | rk XDISPLAY with the IP addr of the host - just my guess. | 16:36 |
gregg10_ | ok that makes sense, going to do some more research on XDISPLAY, appreciate the help! | 16:41 |
*** annabelleB has quit IRC | 16:43 | |
*** annabelleB has joined #kata-general | 16:47 | |
*** gwhaley has quit IRC | 17:00 | |
*** annabelleB has quit IRC | 17:10 | |
*** annabelleB has joined #kata-general | 17:32 | |
*** gregg10_ has quit IRC | 18:15 | |
*** annabelleB has quit IRC | 18:42 | |
*** annabelleB has joined #kata-general | 18:49 | |
*** annabelleB has quit IRC | 19:20 | |
*** annabelleB has joined #kata-general | 19:26 | |
*** annabelleB has quit IRC | 19:48 | |
*** annabelleB has joined #kata-general | 20:01 | |
*** annabelleB has quit IRC | 22:02 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!