apple / apple/container

[Request]: Add the `chunk-size` option to set the chunk size.

Open
#698 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
49.9k
Forks
1.8k
Avg merge
1d 20h
Merged PRs (30d)
22

Description

### Feature or enhancement request details

When uploading images to your own server behind a Cloudflare proxy, you typically encounter an upload size limit of around 100MB.
Is it possible to add a `chunk_size` option to the container image push command to configure the chunk size?
```
OVERVIEW: Push an image

USAGE: container images push [--debug] [--scheme ] [--disable-progress-updates] [--platform ] [--chunk-size]

ARGUMENTS:

OPTIONS:
......
--chunk-size Set the chunk size for client file uploads(default unit MB, usage: 50m)

```
e.g. `container image push --chunk-size 50m --platform linux/amd64 myhub.mynas.com/test/python:latest`

### 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.