apple / apple/container

[Request]: Storage - Add configuration for default container disk capacity

Open
#887 5 comments 0 reactions 1 assignee Claimed by @karenheckel View on GitHub
storage
Dominant language
Swift
Stars
49.9k
Forks
1.8k
Avg merge
1d 20h
Merged PRs (30d)
22

Description

### Feature or enhancement request details

Allow configuring the default disk capacity for native containers (and optionally for builder), similar to how CPU and memory defaults are set. The current default (512 GB) can be limiting for large builds or data-heavy workloads; enabling configurable defaults would let users define higher storage limits globally without passing `--storage` on every run.

Example usage:
```
container system property set rootfs.capacity --default-storage=1TB
container run --storage=512GB myimage
```

Some things to consider:
* Extend configuration management to include default disk capacity.
* Apply defaults consistently across native, and builder containers.
* Validate user specified capacity against host available space.
* Surface current defaults via container config list or system info.

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.