Custom app: docker volume mapping
-
Are you running docker from the host ?
Normally you should build a Dockerfile -
@timconsidine I have connected my cloudron cli to my cloudron instance and i'm running command from my computer:
cloudron install --image hotio/jellyseerr
No i don't think the config will change
-
Ok but is this image built for Cloudron ? Or you’re using a pre-built image ?
-
@timconsidine I'm using a pre-built image from docker hub
-
If the config is not ever going to change, it can be read-only and included in the app’s files under /app/code.
-
-
I successfully started the app then when i check the container's volume I can see that:
[{bind /media/movies /media/movies true rprivate} {bind /home/yellowtent/appsdata/4a224e49-5a30-49ae-bb2b-2b22731ab6ed/data /app/data true rprivate} {volume 585faa40fe07d43726062f11d0530fad796806b03a3c1c39daab3a9a86b14542 /var/lib/docker/volumes/585faa40fe07d43726062f11d0530fad796806b03a3c1c39daab3a9a86b14542/_data /tmp local true } {volume 28fcf47257a3b52162a2998df0eff0b325570c0cef49478f37cff3ecea7d0fda /var/lib/docker/volumes/28fcf47257a3b52162a2998df0eff0b325570c0cef49478f37cff3ecea7d0fda/_data /run local true }]
There is my question answer probably...
This is the mapping I was looking forWhen we used the cloudron cli, behind you automatically create a volume and attached it my custom app...
I didn't see that in the doc. Is it written somewhere ? -
Still, a Cloudron App should not need a volume by default.