mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2026-04-27 00:25:48 +03:00
[GH-ISSUE #114] hints to reduce image size #91
Labels
No labels
bug
documentation
enhancement
following upstream developments
good first issue
help wanted
invalid
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Docker-OSX#91
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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).
Original GitHub issue: https://github.com/sickcodes/Docker-OSX/issues/114
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