Ah. Ok. With the way you mounted it, those directories wouldn't exist. You mounted /media/library as "/library" in the container. So in the Jellyfin UI you should have been starting from /library/movies, etc.
Jellyfin 10.10.7 (Docker)
Ubuntu 24.04.2 LTS w/HWE
Intel i3 12100
Intel Arc A380
OS drive - SK Hynix P41 1TB
Storage
4x WD Red Pro 6TB CMR in RAIDZ1