Custom app: docker volume mapping
-
If the config can change, it should be under /app/data
-
Are you running docker from the host ?
Normally you should build a Dockerfile -
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/jellyseerrNo i don't think the config will change
-
Ok but is this image built for Cloudron ? Or you’re using a pre-built image ?
-
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.
-
G girish moved this topic from Support on
-
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 for
When 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 ? -
@jbrichez maybe you are asking for https://docs.cloudron.io/packaging/cheat-sheet/#filesystem ?
-
Still, a Cloudron App should not need a volume by default.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login