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.

SWITCHING DOCKER DATA ROOT

Featured Replies

  • Community Expert

Unraid v. 7.2.4

I switched the Docker data-root from directory to xfs vDisk. In doing so Docker created the docker-xfs.img file. As I originally had the data-root set to directory, docker created individual folders for all of the pulled layers and the containers.

My question is this: Can I delete all of the old files that are not not being used because docker created the .img file and now writes to this? If so, which files can I delete or all of them with the exception of the .img file?

The reasoning for this is because it takes up approximately 20gb of space on the cache.

Docker data-root.JPG

Here is the latest diagnostics:

olivejuice-diagnostics-20260303-1459.zip

Thank you!

Edited by Olivejuice

Solved by andrebrait

  • Community Expert
  • Solution

Yes, you should be able to delete them.

If yoh want, you can "test that" by renaming the folder / moving the contents somewhere else, rebooting/restarting docker and seeing if anything changes for you.

But given you're using the image method, you should be able to just delete that folder as it's not being used anymore anyway.

  • Author
  • Community Expert
13 hours ago, andrebrait said:

Yes, you should be able to delete them.

If yoh want, you can "test that" by renaming the folder / moving the contents somewhere else, rebooting/restarting docker and seeing if anything changes for you.

But given you're using the image method, you should be able to just delete that folder as it's not being used anymore anyway.

Thank you, that was my assumption as well but I didn't want to pull the trigger without getting some feedback first.

What is your opinion on the Docker data-root being vDisk or directory? It seems as if the Unraid documentation recommends using vDisk but I have heard others recommend directory....thoughts?

  • Community Expert

Recommend using an image, I have seen strange issues with folders many times.

  • Author
  • Community Expert
On 3/4/2026 at 11:38 PM, JorgeB said:

Recommend using an image, I have seen strange issues with folders many times.

On 3/3/2026 at 10:46 PM, andrebrait said:

Yes, you should be able to delete them.

If yoh want, you can "test that" by renaming the folder / moving the contents somewhere else, rebooting/restarting docker and seeing if anything changes for you.

But given you're using the image method, you should be able to just delete that folder as it's not being used anymore anyway.

Just wanted to follow up and let you know that I was able to delete everything in the /system/docker folder with the exception of the .img file and everything is working the way it should. Thank you for your input, it was very much appreciated!

  • Author
  • Community Expert
On 3/4/2026 at 11:38 PM, JorgeB said:

Recommend using an image, I have seen strange issues with folders many times.

Thank you

  • 3 weeks later...
  • Community Expert

@JorgeB Jumping in on this thread after a search for answers.

1) What, if any, are the implications of switching from btrfs vdisk to xfs vdisk. Feel free to include your personal opinion of which is the better option.

Thanks

  • Community Expert

It should be very similar. I prefer BTRFS because it's easier to see if there are issues, since it checksums the data and will detect and show any corruptions.

  • Community Expert
3 minutes ago, JorgeB said:

It should be very similar. I prefer BTRFS because it's easier to see if there are issues, since it checksums the data and will detect and show any corruptions.

Excellent, that's what I currently have set.. I saw some recent posts where people argue that xfs vdisk is better.

Thank you!

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.