Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Custom Docker Image & Persisting Data in appdata

Featured Replies

Hi beautiful community,

 

I'm trying to deploy a couple projects on unraid with docker but having a hard time figure out how to persist my apps content to the appdata folder.

 

When & How do you copy the config, db, files/folder to the appdata folder?

 

My understanding is that i need an entrypoint script to copy the files onto the container at startup.

Can this be accomplished with an already built image from dockerhub? or do i need to create my own Dockerfile?

How do my source files find their way to the bound appdata folder?

 

When i bind my working directory in the unraid UI, I end up with no files at all on the docker container like other users have experienced.

 

I've been trying to accomplish this for a while with no success, ive found a few threads with people asking about the same thing but no clear answer on how to get it done.

 

I'm looking into deploying a shinobi container  and an express app to build and deploy websites. Having persisting data go to my array instead of the unraid docker FS would be peachy.

 

I can get everything to work but on container restart loosing everything that was done, i understand that this is what is supposed to happen.

Basically how do you create a docker image like the ones available on the community apps page where they copy the persisting data to the bound appdata folder?

 

Does anyone have any more information on how to accomplish that? A good thread, youtube video? Spaceinvader hint hint... ❤️

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.