[GH-ISSUE #97] [not issue] Reduce size container and make it lighter #79

Closed
opened 2026-02-27 22:07:49 +03:00 by kerem · 2 comments
Owner

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!

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!
kerem closed this issue 2026-02-27 22:07:49 +03:00
Author
Owner

@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=64G

I'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.

<!-- gh-comment-id:710558153 --> @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=64G` I'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.
Author
Owner

@stefanodecillis commented on GitHub (Oct 16, 2020):

Thank you for your help!

<!-- gh-comment-id:710560821 --> @stefanodecillis commented on GitHub (Oct 16, 2020): Thank you for your help!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Docker-OSX#79
No description provided.