general/other Running Jellyfin (dotnet) container via podman

Hello,

I am trying to run the Jellyfin docker container via podman. I almost have it working, but I am running into the "mlock" problem for dotnet. The only information I have been able to find online (for Jellyfin specifically but also dotnet generally) relates to allowing mlock in jails, but nothing related to podman. In my sysctl on the host I can see "security.bsd.unprivileged_mlock: 1". The command I'm running is "sudo podman run --os=linux docker.io/jellyfin/jellyfin" and the error is "Failed to create CoreCLR, HRESULT: 0x8007FF02", which is what led me down the rabbit hole to find out about mlock. Is there a way to enable this for the container?

J
 
Yeah I know about running it in a jail, I've seen lots of information on that. I was just hoping to run it as a container instead. The container itself works, it's just dotnet that is the problem.

FWIW I found a couple great videos on YT about running Linux containers on FreeBSD via podman.

Thanks
 
Is there a particular reason why this needs to be a Linux container? Jellyfin works quite well in a jail with the allow.mock = true set. Have you tried setting it up in a jail and exporting that as a container for podman?

EDIT: The documentation on how to do any of this is still mostly non-existent. It should be possible, but it seems mostly broken at the moment.
 
Back
Top