mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2026-01-14 07:33:30 +01:00
hints to reduce image size #93
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @carlosen14 on GitHub (Dec 16, 2020).
i generated the image, accept terms, get into desktop, but until here the image size was already 35GB.
my plan was to generate an image to use it on ci-cd, but with this size it is not possible 😕 , do you have any hint I could try? i am advancing with this, maybe check the opencore I saw on other issue #83 but dont know if will be able to install xcode.app and xcodebuild, the tools required to compile.
great tool btw, at least works and is faster than a virtualbox machine
@weskerfoot commented on GitHub (Dec 18, 2020):
Try following these instructions and see how it goes https://github.com/sickcodes/Docker-OSX#how-to-reduce-the-size-of-the-image
@weskerfoot commented on GitHub (Dec 18, 2020):
I was able to get my image size down to 42 gb, which is less than the 70gb or so it was before, but if you delete enough things you could probably get it down to 20 gb or so.
@sickcodes commented on GitHub (Feb 22, 2021):
You can compress the image and it will shrink significantly in size:
qemu-img convert -c -O qcow2 larger.img smaller.imgIt does not affect runtime speeds.
In addition, you can disable Automatic Updates for the system itself. This prevents it blowing out to 40GB on first boot. Literally just discovered this and I am uploading a fixed
sickcodes/docker-osx:autoimage as we speak.@carlosen14 commented on GitHub (Feb 22, 2021):
Excelent news, will try your image and see if I can get it working on CICD
@ju-li commented on GitHub (Sep 27, 2022):
Could you share the instructions again? It's no longer on the page