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 do I increase the size of the docker image?

Featured Replies

I am getting this in Fix Common Problems:

 

Docker image file is getting full (currently 90 % used)

 

You should either increase the available image size to the docker image here [DOCKER SETTINGS] or investigate the possibility of docker applications storing completed downloads / incomplete downloads / etc within the actual docker image here: [DOCKER]  More Information

 

I don't see anything that will let me increase it under docker settings.  Please help a dummy out!  I am not able to upgrade my docker images, I assume because I'm out of space.

Solved by GPT347

  • Community Expert

How large is your current docker.img? 20G is often more than enough. Maybe you need to figure out what is filling it instead of increasing its size,

  • 2 weeks later...
  • Author

I set up Unraid and Docker awhile ago following videos.  Fortunately, it has just worked since.  Unfortunately for me, I have forgotten how it works.  How do I find out what is filling it?

  • Author
  • Solution

I found what I need here.  It turns out I just have too many docker containers.

 

 

  • 7 months later...

Just resurrecting this conversation for a moment.  I know I can 'simply' increase the size, however, I also know it isn't necessarily the right way.  I have a total of 9 images, which are taking up a total of 15gb.  I have my suspicions on the culprit but wanted to find out for sure.

 

I grabbed and ran the script in this video but it is not showing me one of the important sections..."List of docker volumes, the container which they are connected to their size".  I will note that I am running UR, v.6.12.8. and, it should also be noted that I am running with datasets (ZFS), which I suspect is causing the problem...

  • Community Expert

If usage isn't growing then I would say there is nothing to fix. Make it a little bigger if you want to have some room for more containers.

  • 2 months later...

1 You can view how large each docker container is:

 

Go to docker tab of unraid, near the bottom of the page there is a button called [Container Size] it's next to the update all containers button

 

2 You can do the following terminal commands:


List docker volumes (these are internally stored data volumes created by docker containers you are running)

 

docker volumes ls

 

List size of docker volumes that might be taking up space

 

du -h -d 1 /var/lib/docker/volumes

 

 Delete unused docker volumes:

 

docker volume prune

 

Inspect a docker volume

 

docker volume inspect <name_of_volume>

 

Manually delete a docker volume (use with caution)

cd /var/lib/docker/volumes
ls
rm -r <folder name>

 

3 You can use user-scripts plugin:

 

user scripts plugin here

 

The default scripts included are:

- Delete any dangling images from the docker.img file

- Display the size of the docker container's log files (to see if a docker app is filling up the image file through excessive logging)

 

And you can also add the following scripts from here

- Clean Docker Logs

- Get size of running containers

 

 

 

 

Edited by kiwijunglist

  • 2 months later...

I would like to add into this one that the addition of some of the new AI containers have brought us to a point where increasing the size of the docker image is now a thing to do. I have mine on a twin SSD cache and it screams. well worth it. I upped mine to 60Gig and it still wasn't enough to handle the LocalAI docker install. (I also have EasyDiffusion installed as well) LocalAI installs an easy 16Gigs of downloads and then extracts them. It's huge. 

(edit) after the LocalAI install finally worked with the larger Docker image it them proceeded to download a lot more data. Another huge amount. I really suggest at least an 80Gig Docker image for these massive docker images

Edited by Dick Dawson

  • 5 months later...

Come on. This is the first result on google when searching for "unraid increase docker image". There's even people saying that they successfully increased the size. And still the question is not answered.

When someone ask "How do I increase the size of the docker image?" Why answer "that's not the best solution"? Just answer the question, please.

 

 

Edited by Hache

  • Community Expert

Because many people who ask that question actually need a different solution to their problem.

  • 1 month later...

My Docker file was getting full (I genuinely believe there's nothing wrong, just have many containers), so I disabled Docker, increased the vDisk size, enabled Docker again and nothing changed. The Unraid dashboard still reports the same 70%+. Is there anything else that needs to be done?

Screenshot 2025-02-25 at 12.12.21.png

Screenshot 2025-02-25 at 12.15.27.png

Screenshot 2025-02-25 at 12.38.36.png

  • Community Expert

What did you increase it from? Those Container Size totals are nearly 70% of 50G so not clear what you are expecting.

5 hours ago, trurl said:

What did you increase it from? Those Container Size totals are nearly 70% of 50G so not clear what you are expecting.

I initially increased it from 20G to 50G and have now expanded it further to 70G. The point is that nothing changes and the dashboard continues to show 71%.

 

Additionally, when I hover over the 71% it shows "69.7 GiB", which is yet another number I don't understand the origin of.

 

That said, I am not suggesting that the Docker utilization percentage in the dashboard is incorrect. When I update Docker containers the utilization temporarily increases to 72%-73% as images are downloaded and then drops back down after orphaned images are cleaned up. It's just I don't seem to understand how this thing works.

 

Screenshot 2025-02-26 at 10.22.16.png

  • 1 month later...

As of Unraid v7:

1. Go to the Docker tab, then Stop All containers.

2. Go to the Settings tab, then select "Docker".

3. Change "Enable Docker" to "No". This stops the Docker service.

4. The "Docker vDisk size" option should now become available.

5. Increase this to your desired volume size (ie: 30GB).

When you're done, change "Enable Docker" back to "Yes", then start your containers again.
 

Edited by shooks

  • Community Expert
10 hours ago, shooks said:

As of Unraid v7:

And most earlier versions.

11 hours ago, shooks said:

5. Increase this to your desired volume size (ie: 30GB).

But if you think you need to increase it to more than 50G, ask for help, you probably have something misconfigured.

  • 1 month later...
On 4/16/2025 at 2:40 PM, trurl said:

But if you think you need to increase it to more than 50G, ask for help, you probably have something misconfigured.

Mine's at 50G and I'm getting warnings about it being close to limit.

Here's the size stats from the Docker page. I'm hoping to start using some MLL containers soon, so will likely need to expand for those, but before I do, I'd like to make sure there's no issues with what I have now.

Edit: Paging @trurl - are you able to help with this? I'm now unable to update larger containers due to running out of room.

Thanks

Name                                            Container                Writable                 Log
immich                                          3.36 GB                  188 MB                   931 kB
FileFlows                                       2.76 GB                  898 MB                   17.5 MB
binhex-delugevpn                                2.66 GB                  0 B                      62.3 MB
vw-rotata                                       2.55 GB                  355 MB                   1.01 MB
nicotine-plus                                   2.40 GB                  401 kB                   43.3 kB
binhex-plexpass                                 1.96 GB                  249 MB                   37.7 MB
nextcloud                                       1.39 GB                  269 MB                   29.7 kB
DiskSpeed                                       949 MB                   34.9 MB                  309 kB
akaunting                                       887 MB                   0 B                      62.3 MB
elasticsearch                                   842 MB                   75.5 kB                  24.5 kB
Thunderbird                                     809 MB                   0 B                      62.3 MB
ApacheGuacamole                                 771 MB                   34.5 MB                  3.42 kB
ChromiumUngoogled                               708 MB                   0 B                      62.3 MB
PostgreSQL_Immich                               701 MB                   63 B                     25.9 kB
HomeAssistant_inabox                            681 MB                   2.71 kB                  3.47 MB
youtube-dl-material                             635 MB                   19.0 MB                  325 kB
changedetection.io                              607 MB                   5.40 MB                  2.30 MB
ESPHome                                         573 MB                   2.37 MB                  3.26 MB
Mealie                                          470 MB                   4.40 kB                  1.85 MB
UptimeKuma                                      440 MB                   217 kB                   2.11 MB
swag                                            402 MB                   2.49 MB                  845 kB
kimai                                           391 MB                   0 B                      62.3 MB
sonarr                                          364 MB                   158 MB                   48.4 MB
Czkawka                                         330 MB                   0 B                      62.3 MB
MariaDB-Official                                327 MB                   2 B                      24.4 kB
audiobookshelf                                  312 MB                   0 B                      377 kB
imapsync                                        291 MB                   0 B                      144 kB
CouchDB-Offical-Docker-v1.x2                    272 MB                   0 B                      5.05 MB
songkong                                        259 MB                   0 B                      62.3 MB
vaultwarden                                     237 MB                   0 B                      376 kB
radarr                                          207 MB                   22.8 kB                  8.91 MB
UrBackup                                        202 MB                   5.85 MB                  18.1 MB
Huntarr                                         184 MB                   826 kB                   10.8 MB
Gitea                                           177 MB                   0 B                      62.3 MB
sabnzbd                                         171 MB                   24.7 kB                  2.74 MB
speedtest-tracker                               169 MB                   2.41 MB                  686 kB
diskover                                        146 MB                   27.2 kB                  26.5 kB
tautulli                                        146 MB                   22.3 kB                  267 kB
gotify                                          130 MB                   0 B                      62.3 MB
adminer                                         121 MB                   0 B                      62.3 MB
Syncthing                                       52.8 MB                  21.8 kB                  582 kB
Duplicacy                                       50.9 MB                  837 B                    838 kB
Unraid-Cloudflared-Tunnel                       46.7 MB                  37.8 MB                  14.3 MB
Total size                                      31.1 GB                  2.26 GB                  806 MB

Edited by -C-
Edit

  • 4 months later...

I think something that I haven't seen mentioned here or maybe it was an I missed it but you should be mountain a share in you docker localAI config to store the models. This should preferably be on a nvme ssd. at the bottom of every config page for a docker container in unraid there is a area where you can add addition storage and ports to configure you should create a share for you models then app that in the config to something like /models in the container and int he config of the software set that as the model download location.

this should eliminate virtually all of you bloat and I would suspect that you have something similar going on with you other containers as well. Aside for the actual models there should be almost no space eaten up by this container.

If it can be helped you should almost never store data in the docker image.

  • 4 weeks later...

Small question, will changing the size (turn off and on docker service to do increase it) cause me to need to reinstall my containers?

  • 2 months later...
On 6/29/2023 at 9:16 PM, JonathanM said:

Disable docker service.

2 changes, either of which could help the newbies. One involves just adding text which could be implemented very easily.

So easy, but no one thinks of the newbs. Please help the newbs. It could be implemented today.

image.png

Surely the moderators here know how many newbs ask "How can I change the vDisk size????".

UNRAID's goal should be to make the software as easy as possible. Burying the size change information in the stopped Docker makes no sense from the newb's perspective.

Edited by digitaldoctor

  • Community Expert

@digitaldoctor If I remember correctly you can change the docker vdisk size without disabling docker as long as you stop the array.

1 minute ago, itimpi said:

@digitaldoctor If I remember correctly you can change the docker vdisk size without disabling docker as long as you stop the array.

This provides no help for the newb. Probably worse.

The UNRAID UI was made from the perspective of the elite coders that make the underlying code, NOT the perspective of a newbie new user. Herein lies the problem.

Edited by digitaldoctor

  • Community Expert
47 minutes ago, digitaldoctor said:

newbie new user

Increasing the size of docker.img is usually not the solution a newbie requires.

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.