mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2026-04-27 16:45:49 +03:00
[GH-ISSUE #97] [not issue] Reduce size container and make it lighter #79
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#79
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 @stefanodecillis on GitHub (Oct 16, 2020).
Original GitHub issue: https://github.com/sickcodes/Docker-OSX/issues/97
Hello,
I have a question. Is it possible to reduce the disk usage of the container once it is created?
If not, it would be good to many people to have a lighter version for CICD operations. How much is it the minimun disk space required to run macos?
I'm planning to make a image i can use for compiling applications.
Thank you in advance and congrats because you made a great job with this image!
@iambenmitchell commented on GitHub (Oct 16, 2020):
It's not possible to reduce the size once crated. However you can change the disk size during the build. I can't remember exactly but I think it's
--build-arg SIZE=64GI've tried it with 64 GB and it works, Apple says the minimum is 12.5GB or 18.5 GB if you're doing an upgrade.
So unless you're crazy I'd say go with 32GB as a bare minimum or 20GB as an insane minimum to ensure you have no issues.
@stefanodecillis commented on GitHub (Oct 16, 2020):
Thank you for your help!