apple / apple/container

[Request]: Storage - Add ability to resize native container storage

Open
#888 0 comments 0 reactions 0 assignees 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

Add support for resizing the storage capacity of existing native containers (including builder). This would allow increasing container disk size without recreating the container, which is currently required when workloads exceed the default capacity.

Example usage:
`container resize mycontainer 2TB`

Some things to consider:
* Support both online (running) and offline (stopped) resize operations if feasible.
* Preserve existing data and filesystem integrity during expansion.
* Validate requested size against host disk capacity.

### Code of Conduct

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

Contributor guide

Open the contributing guide

Research direction

Start by tracing how native containers, including the builder, currently allocate and manage storage. Define the resize command and its behavior for running and stopped containers, then verify data preservation, filesystem integrity, and host-capacity validation. No specific files, tests, or entry points are named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
cli, infrastructure
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.