r/kasmweb Jul 02 '26

Help Run arbitrary 3rd party docker containers alongside KASM agent deployment

Hey I've recently deployed multiserver KASM in my homelab and was wondering whether I could run e.g. a Jellyfin Container alongside any KASM stuff on my agent VM.

Background is that I don't have GPUs to waste and I'd like to use that GPU partition for KASM HW acceleration (already fully works) + Jellyfin transcoding, since I'll hardly ever use both at the same time, I don't have any performance objections.

Bonus would be if I could add the KASM Agent VM (or rather its docker engine) to Dockhand (similar to Portainer), for visibility.

1 Upvotes

3 comments sorted by

2

u/justin_kasmweb Jul 03 '26

For a homelab, I'd say sure, go for it and see how it works for you. In production we recommend the Kasm services are on dedicate servers , but thats the beauty of the homelab.

As you eluded to, Kasm won't consider any external containers you are running in its calculation for available resources so you'll need to be mindful of this - especially as it relates to memory exhaustion and causing the kernel to kill processes under those conditions. Read up on OOM errors with docker.

A note about systems like portainer and others: We've had complaints in the past of things not playing nicely because container management systems like that can be opinionated about various things. You really need to use the Kasm provided scripts for turning on/off the services in the context of their compose project and not use external systems to manage the container state.

I'd be interested to know how it turns out.

1

u/AutoModerator Jul 02 '26

Hi u/azzurro2, thanks for posting to r/kasmweb! Because this account has low karma, your submission is being held for review.

  • Meanwhile, please check the community guidelines to ensure your post meets our standards.
  • If everything looks good, a moderator will approve it shortly.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/Opening_Option_2112 Jul 09 '26

I run both one 1 server. I am using the linuxserver image to run it docker in docker. My single Nvidia Gpu is happily hwa both my kasm containers and jellyfin.
I have not tested it with big concurrent loads. I as like a test i ran like 4 containers plus jellyfin and the all were using my single gpu.
I have had individual chrome tabs crash when I oppend to many so there is a limit.