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.

How to turn my docker file to a docker folder?

Featured Replies

  • Author
1 hour ago, thunderclap said:

Will converting dockers to folders from images speed up their load time? Right now I have 15-20 docker containers on an SSD and it takes a good 10 min for them all to load. 

 

You mean to start?

What is your RAM and CPU?

 

  • Replies 64
  • Views 31.7k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • I can't seem to find an 'official' guide on how this is all done, I thought I'd add this from what I've seen/experienced:   Make a screenshot of you current docker tab (useful for step 5

  • 0. Make a screenshots of you current docker tab (usefull for step 5 so you know the exact names of all your current installed docker templates ) 1. Stop all dockers 2. In docker settings : Stop docker

  • Did you have a trailing slash ("/")

Posted Images

22 minutes ago, NLS said:

 

You mean to start?

What is your RAM and CPU?

 

I have an Intel Core i7-9700K with 32GB RAM.

  • 2 weeks later...
  • Author
On 9/28/2023 at 7:00 PM, thunderclap said:

I have an Intel Core i7-9700K with 32GB RAM.

 

Then 10 minutes is definitely too much.

 

  • 2 months later...

just curious, why would want to do this, switch to folders vs an image ?

  • Community Expert
2 hours ago, sstretchh said:

just curious, why would want to do this, switch to folders vs an image ?

I think some people do it because they don't know why their docker.img is growing, maybe due to not really understanding path mapping.

 

There may be some other more valid reasons I'm not aware of.

  • 2 months later...
On 3/15/2021 at 4:31 AM, Squid said:

Apps - Previous Apps.  Check off what you want.  No need to do them individually

 

This didn't work for me. Previous Apps only had 5 containers listed, but I had around 20 of them.

 

I had to recreate them one by one using the "Select a template" dropdown. At least the previous templates had all my customizations intact.

  • 4 weeks later...

I'm thinking of doing this.

 

Why does the system suggest path: `/mnt/user/system/docker/docker/` ? When the first `docker` is empty (except for the to-be defunct .img file).

 

Why not just go with `/mnt/user/system/docker/` ?

Edited by Derek_

  • Author
9 hours ago, Derek_ said:

I'm thinking of doing this.

 

Why does the system suggest path: `/mnt/user/system/docker/docker/` ? When the first `docker` is empty (except for the to-be defunct .img file).

 

Why not just go with `/mnt/user/system/docker/` ?

 

It is just a "follow" on that being a file.
I use the path you propose for more than a year, so you do it also, don't worry about it.

 

  • Community Expert
15 hours ago, Derek_ said:

I'm thinking of doing this.

Why?

13 hours ago, trurl said:

Why?

 

My Dockers weren't updating, the last thing on my list was deleting the .img and starting fresh. As i was going to do that anyway, i thought i might do the folder thing. A friend of mine said he'd had much better reliability with the folder than the file when he switched.

  • Community Expert
On 12/16/2023 at 4:39 PM, trurl said:

I think some people do it because they don't know why their docker.img is growing, maybe due to not really understanding path mapping.

 

There may be some other more valid reasons I'm not aware of.

 

7 hours ago, Derek_ said:

My Dockers weren't updating

Are they still working, just not updating?

 

Might be better to post your diagnostics

  • 2 weeks later...
On 3/18/2024 at 11:24 PM, trurl said:

 

Are they still working, just not updating?

 

Might be better to post your diagnostics

 

Yeah, they were still working. I already did the delete trick. Everything has been dandy since.

 

One thing i remember is that my .img was less than 50% full. So that wasn't an issue.

Edited by Derek_

  • 3 months later...

Is anyone able to describe the contents of the docker directory after the switch to folder mode?

 

drwx--x--- 1 root root  20 Jul  6 10:02 btrfs/
drwx--x--x 1 root root 132 Jul  6 10:01 buildkit/
drwx--x--x 1 root root  12 Jul  6 10:01 containerd/
drwx--x--- 1 root root 384 Jul  6 10:19 containers/
drwx------ 1 root root  10 Jul  6 10:01 image/
drwxr-x--- 1 root root  10 Jul  6 10:01 network/
drwx------ 1 root root  20 Jul  6 10:01 plugins/
drwx------ 1 root root   0 Jul  6 10:17 runtimes/
drwx------ 1 root root   0 Jul  6 10:01 swarm/
drwx------ 1 root root   0 Jul  6 10:19 tmp/
drwx------ 1 root root   0 Jul  6 10:01 trust/
drwxr-xr-x 1 root root  12 Jul  6 10:11 unraid/
-rw-r--r-- 1 root root  13 Jul  6 10:19 unraid-autostart
-rw-r--r-- 1 root root 767 Jul  6 10:19 unraid-update-status.json
drwx-----x 1 root root 184 Jul  6 10:19 volumes/

 

cheers.

 

Also curious to know why the 40gb docker.img file becomes a 70gb folder :)

Edited by Derek_

  • 5 months later...

Is a benefit of this being able to snapshot and rollback individual docker containers?

Let's say an update breaks something. If my cache has ZFS snapshots, can I roll back the offending docker's dataset? 

  • 9 months later...

I am also in the process of doing this - Main reason for me is that I've now had to enlarge my Docker.img size for a 3rd time - No I do not have misconfigured paths, I just have nearly 80 containers and some are just very large, IPEX-LLM for instance.

I also have some containers that are a little large and now I will easily be able to inspect it.

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.