Cache or config? Cache only has temporary data like images and the like. Would not container anything related to your database. Jellyfin does not make backups for you and neither does docker.
Jellyfin 10.10.1 (Docker)
Ubuntu 24.04 LTS
Intel i3 12100
Intel Arc A380
OS drive - SK Hynix P41 1TB
Storage
3x WD Red Pro 6TB CMR in RAIDZ1 (JF Library)