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.

Docker .img Full - How to Expand

Featured Replies

My docker 10GB .img just filled all the way up today. Is there a certain command to give it more space?

Settings / Docker

 

Stop Docker

 

Delete the existing image file

 

Recreate the image file with a greater size, and enable docker

 

Add your containers again via "Add Container", and select all of your "my*" containers you were using.

 

After all the downloads happen again, it will be like nothing happened.

  • Author

Awesome, I was guessing that was the case. Thanks for your reply.

 

As it turned out, the real reason was the SSD ran out of space not the docker.img. I just setup a new windows 10 VM and got a little carried away installing new things. Then all of the sudden I couldn't access some of my dockers. Ended up moving some stuff off the SSD and problem solved.

Do you really have to delete the img file and reinstall all the dockers?

 

It's been a while, but I kinda remember just stopping docker, changing the img size and restarting it. I think unRaid just added more blank bits using the dd command and expands the file.

 

I don't think I had to reinstall anything. But like I said, that was a while back and my memory ain't what it used to be :-)

Do you really have to delete the img file and reinstall all the dockers?

 

It's been a while, but I kinda remember just stopping docker, changing the img size and restarting it. I think unRaid just added more blank bits using the dd command and expands the file.

 

I don't think I had to reinstall anything. But like I said, that was a while back and my memory ain't what it used to be :-)

You could be correct.  Never had a reason to go beyond 20G, so its just how I would have guessed that it would work.

So you're not gonna go to 21G just for the love of science and experimentation?  :P

 

And what about shrinking the img? I think these questions demand an answer!!!

 

I elect sparklyballs for the testing  8)

ok... I took one for the team.

 

Stop docker.  Increase the size.  Restart docker.  Done

 

Not in the mood however to decrease the size.  Sparkly can handle it.

  • Author

 

Stop docker.  Increase the size.  Restart docker.  Done

 

Fancy, wait... flared pinky fancy. UnRAID has definitely come a long!

You still want to go through the process of deleting it all since you dont know what possible corruptions were caused from hitting the absolute limit.

I was under the impression previously we could expand but not shrink a docker image file without deleting it first?!?

 

Kryspy

I was under the impression previously we could expand but not shrink a docker image file without deleting it first?!?

 

Kryspy

 

this is truth

I've hit the limit twice and ended up with a corrupted docker image.  Should be ok with the 30G I've allocated now..  ;D

  • Author

 

30G I've allocated now..  ;D

 

I think you're having way to much fun with docker!

 

30G I've allocated now..  ;D

 

I think you're having way to much fun with docker!

 

Shouldn't have to increase it again for a while

 

Label: none  uuid: 1b92ba03-511e-46a3-944d-a0695834ce69
Total devices 1 FS bytes used 20.20GiB
devid    1 size 30.00GiB used 24.04GiB path /dev/loop0

btrfs-progs v4.1

This seems an appropriate place to ask the following...

 

What is the best way to manage the docker's increasing size?

 

My docker size has been increasing. I do update dockers when available, does this mean garbage is being left behind every upgrade?

 

If the above is true, is the only way to manage the increasing size to remove the docker container+image, and re-add? (other than increasing the docker size itself).

 

Thanks  :)

This seems an appropriate place to ask the following...

 

What is the best way to manage the docker's increasing size?

 

My docker size has been increasing. I do update dockers when available, does this mean garbage is being left behind every upgrade?

 

If the above is true, is the only way to manage the increasing size to remove the docker container+image, and re-add? (other than increasing the docker size itself).

 

Thanks  :)

 

To manage docker size properly:

1) Do not update dockers

2) Do not run auto-updating dockers

3) Do not install/uninstall/install/uninstall dockers

4) Periodically scrub your docker using the UI Settings/DockerSettings page

 

My docker size is 654 megs in use after 5.5 weeks of use, when initial base size after first creations was around 645 megs. I run the following 3 dockers: EggDrop, NzbGet, and a torrent program.

 

For those who update too frequently or use auto-updating programs the following step is required:

 

5) Nuke From Orbit periodically to restart back to pristine condition.

Archived

This topic is now archived and is closed to further replies.

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.