I'm in a bit of a bind here and unsure on what options I have, if any.
I'm trying to install Nextcloud's AIO via Docker, with GPU passthrough for video transcoding. The GPU will be shared as I already have a Jellyfin CT already set-up with the GPU.
If I set-up a VM, which Docker prefers, then I lose my Jellyfin GPU. From what I understand if you pass a GPU to a VM, then it can't be shared.
If I set-up a CT, which allows for GPU sharing, then I lose Docker which doesn't have good LXC support.
On top of all this, if I use a CT, then it has to be privileged since you can't pass a GPU to unprivileged, and this opens up a bunch of security questions.
In short, has anyone set-up an environment with Docker, where you are able to share a GPU? I'd love some use case examples.
I'm trying to install Nextcloud's AIO via Docker, with GPU passthrough for video transcoding. The GPU will be shared as I already have a Jellyfin CT already set-up with the GPU.
If I set-up a VM, which Docker prefers, then I lose my Jellyfin GPU. From what I understand if you pass a GPU to a VM, then it can't be shared.
If I set-up a CT, which allows for GPU sharing, then I lose Docker which doesn't have good LXC support.
On top of all this, if I use a CT, then it has to be privileged since you can't pass a GPU to unprivileged, and this opens up a bunch of security questions.
In short, has anyone set-up an environment with Docker, where you are able to share a GPU? I'd love some use case examples.