JWMutant Posted November 7, 2021 Share Posted November 7, 2021 Im starting to run low on space in my docker image, and while Im sure it has been covered before I cant seem to find it. How would I go about increasing the size of my docker image? Thanks in advance. Quote Link to comment
Squid Posted November 7, 2021 Share Posted November 7, 2021 Settings - docker. Stop the service and then increase the size and restart the service. Just a ton of containers or is there a problem with it constantly growing? 1 Quote Link to comment
JWMutant Posted November 7, 2021 Author Share Posted November 7, 2021 Just a lot of containers. And I probably didn’t make the initial size big enough As I think it’s only 20 gig Quote Link to comment
maple Posted November 8, 2021 Share Posted November 8, 2021 Here's the specific post that provides the answer you need, and many others. Just did this yesterday myself and worked well. 1 Quote Link to comment
trurl Posted November 8, 2021 Share Posted November 8, 2021 42 minutes ago, maple said: Just did this yesterday myself Since this is your first post, you should note that increasing docker.img size is usually not the correct solution to filling docker.img. Some people may need it to be somewhat larger than 20G, but most don't, and if your docker.img usage is growing that means you have apps writing into docker.img instead of to mapped storage. Making docker.img larger won't fix that, it will only make it take longer to fill. Quote Link to comment
maple Posted November 15, 2021 Share Posted November 15, 2021 On 11/8/2021 at 3:25 PM, trurl said: Since this is your first post, you should note that increasing docker.img size is usually not the correct solution to filling docker.img. Some people may need it to be somewhat larger than 20G, but most don't, and if your docker.img usage is growing that means you have apps writing into docker.img instead of to mapped storage. Making docker.img larger won't fix that, it will only make it take longer to fill. You're very right. I didn't mention it since the OP said in the post above mine that they simply have "a lot of containers" and not an issue with growth. But for anyone else ending up in this thread, it's worth mentioning that understanding docker.img growth is also touched on in the FAQ. 1 Quote Link to comment
irishjd Posted January 9 Share Posted January 9 To do a 180, how would I shrink the size of the docker image file? Quote Link to comment
trurl Posted January 9 Share Posted January 9 30 minutes ago, irishjd said: To do a 180, how would I shrink the size of the docker image file? Delete and recreate https://wiki.unraid.net/Manual/Docker_Management#Re-Create_the_Docker_image_file https://wiki.unraid.net/Manual/Docker_Management#Re-Installing_Docker_Applications Quote Link to comment
irishjd Posted January 9 Share Posted January 9 All, the answer to my question is found in thread #48983 Quote Link to comment
trurl Posted January 9 Share Posted January 9 1 hour ago, irishjd said: All, the answer to my question is found in thread #48983 And how would someone find that thread? Quote Link to comment
trurl Posted January 9 Share Posted January 9 1 minute ago, trurl said: And how would someone find that thread? NVM, I found it https://forums.unraid.net/topic/48983-easier-way-to-rebuild-docker-image-to-make-it-smaller/ Seems to be saying the same thing as the wiki links I gave above Quote Link to comment
Recommended Posts
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.