Is it possible to run Bazzite as a container?

I'm aware that Bazzite itself is a container, but is it possible to run Bazzite as a container on an existing host through a runtime such as Podman or Docker?
37 Replies
antheas
antheas2w ago
yes, there is always the question of why but you can you wont be able to open kde this way or use it as an OS
jacketchan
jacketchanOP2w ago
KDE doesn't work in it? My personal motivation is that I don't want to exclusively allocate the entire machine just to Bazzite, but I'd greatly prefer the performance and resource efficiency improvements of keeping it in a container rather than a virtual machine The host machine is otherwise headless as of now, so sharing the GPU (while nice in case something else needs it) or the display (same as before) isn't necessary
antheas
antheas2w ago
you can run it as a container to check individual stuff and modify it but it will not work as an OS
jacketchan
jacketchanOP2w ago
What specifically doesn't work?
antheas
antheas2w ago
most stuff you'll be able to launch steam at most
jacketchan
jacketchanOP2w ago
Is there anything I can do to fix that? What specifically causes the issue?
antheas
antheas2w ago
yes a container is not an OS so you cant use it as an OS
jacketchan
jacketchanOP2w ago
Sure, but what specifically about "being an OS" is relevant to typical Bazzite usage and non-functional? For example, is there any specific reason KDE wouldn't load? I've seen other containers around for running Steam and other GUI applications with full desktop environments, so I'm unsure of what the specific blocking issue is that would prevent Bazzite from doing the same
tulip
tulip2w ago
mostly that you dont have perfect hardware passthrough on containers you totally could run that but its completely and entirely unsupported you can bind your ttys over to the container and run KDE as a session on your host docker run --privileged then bind a ton of stuff to it and eventually youll be able to run an entire session via the docker hijacking your system but like not supported and you are completely on your own
jacketchan
jacketchanOP2w ago
Hmm, this puts me a lot further in the right direction. If you could list a few examples, what would need that privileged passthrough? I see a lot of other containers online for applications like Steam not requiring anything too fancy, so I'm struggling to figure out what I'm missing here
tulip
tulip2w ago
You can run stuff like Steam with a container with distrobox! It already does the entire job for you But you can manually do that by binding your wayland socket + GPU into the container (--bind /run/user/1000:rw --bind /dev/dri)
jacketchan
jacketchanOP2w ago
Would I even have a Wayland socket on the host on a headless system?
tulip
tulip2w ago
oh LOL
jacketchan
jacketchanOP2w ago
Personal motivation listed here
tulip
tulip2w ago
Didnt see that it was a headless system yeye
jacketchan
jacketchanOP2w ago
The system has display capabilities, but they're being unused. I thought it would be a nice idea to use it as a HTPC on the currently underutilized GPU while it's still serving its main purpose as a compute node. I couldn't find anything even remotely similar to this type of setup online when it comes to containers, so I'm not sure where to even approach it
tulip
tulip2w ago
Like, how would you use your system? Do you want to game on it? Or do you just want a linux desktop? I believe your ideal setup would be to have a remote sunshine session Idk exactly how to acomplish that tho
jacketchan
jacketchanOP2w ago
I was only planning on streaming games to it to keep the resources free for other tasks on it, the actual Bazzite instance shouldn't be doing very much besides offering a couch-friendly environment for streaming games and from my media server
jacketchan
jacketchanOP2w ago
Ultimately running the games on a much more capable machine with something along the lines of https://github.com/Steam-Headless/docker-steam-headless
GitHub
GitHub - Steam-Headless/docker-steam-headless: A Headless Steam Doc...
A Headless Steam Docker image supporting NVIDIA GPU and accessible via Web UI - Steam-Headless/docker-steam-headless
jacketchan
jacketchanOP2w ago
That would be acceptable if directly attaching the display is what's bringing trouble, encoding and decoding is hardware accelerated anyway
antheas
antheas2w ago
If you also want to do -deck stuff forget it
jacketchan
jacketchanOP2w ago
-deck stuff?
antheas
antheas2w ago
You want the htpc image on top of that It won't run as a container it's a waste of time
jacketchan
jacketchanOP2w ago
On top of what?
antheas
antheas2w ago
Of trying to run bazzite as a container
tulip
tulip2w ago
tulip
tulip2w ago
found something that might interest you i just dont exactly know how you would run the remote session hmmm
jacketchan
jacketchanOP2w ago
Oh, I see. Again though, what specifically would prevent it from running as a container? If it's something I could fix with some setup I'd be fine doing so, but if it's a more fundamental issue I'd presume it'd affect any attempt to do something like this and I would need to change my strategy entirely
tulip
tulip2w ago
its just that its not meant to run as a container thats it really a ton of stuff will not work good if you try running bazzite as a container but like you can just make your own container for that kinda streaming
jacketchan
jacketchanOP2w ago
I'm not against doing it myself, but I wanted to be sure it wasn't something I could configure or maintain a patch for before doing so
antheas
antheas2w ago
It's not worth your time Yes bazzite is a container and works fine as a container doing container stuff Running desktop apps is distrobox territory and is pushing it
jacketchan
jacketchanOP2w ago
This is why I keep asking though, what is "container" stuff and what specifically is hampering desktop apps? I'm not really grasping the specific problem at hand
antheas
antheas2w ago
Try to do what you said I can't say more
jacketchan
jacketchanOP2w ago
Is there someone who hasn't taken an oath of silence who could? If there's an issue, I'd like to know where it is
tryhardsoccermomswag
transport method bazzite is a bunch of packages, services, etc. that just run on top of fedora kinoite or fedora silverblue those need to exist for any real functionality
antheas
antheas2w ago
When you try it you'll find it's not possible
tryhardsoccermomswag
there's a similar oci image that is intended for container use, bazzite-arch
Want results from more Discord servers?
Add your server