Jellyfin Forum
docker: howto have cache and config inside. - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: General Questions (https://forum.jellyfin.org/f-general-questions)
+--- Thread: docker: howto have cache and config inside. (/t-docker-howto-have-cache-and-config-inside)



docker: howto have cache and config inside. - asdffdsa6131 - 2025-08-02

hello forum members, 

how to have a 100% self-contained docker image.
the config and the cache would be inside the docker image.

so zero leakage to the host?

thanks much, david


RE: docker: howto have cache and config inside. - Efficient_Good_5784 - 2025-08-02

That's the behavior by default.
If you don't specify the locations to live outside the container using some type of host mount, they will be inside the container.

Note that you will be forced to dig inside the container and pull out the config folder if you don't want to lose your current Jellyfin settings when you want to upgrade.

Upgrading Docker containers doesn't do anything to an existing container.
The update process involves launching a new container, linking the new container with the data you want to transfer, then deleting the old container.

So unless you don't have a method of extracting the old embedded config folder, you will lose all that when you update and delete the old container.