containers / skopeo

Work with remote images registries - retrieving information, images, signing content
Apache License 2.0
8.03k stars 766 forks source link

Bandwidth limit option on copy #2127

Closed OlafvdSpek closed 9 months ago

OlafvdSpek commented 11 months ago

Could a bandwidth limit option be added to the copy command for cases where one doesn't want to interfere with other traffic is upload bandwidth is limited.

mtrmac commented 10 months ago

Thanks for reaching out.

I agree that limiting bandwidth is useful in many situations; but I don’t think it’s all that user-friendly or productive for every single binary that could ever reach the internet to grow its own (necessarily tool-specific) bandwidth limiting option; and I’m not very convinced that even doing that for the major users, like skopeo sync might well be, is the best approach.

Enforcing some kind of more global limit, based on a route or possibly on a cgroup (maybe at the container boundary, like https://github.com/containers/podman/issues/17414 ), seems to me to be a far more general and safe approach.

github-actions[bot] commented 9 months ago

A friendly reminder that this issue had no activity for 30 days.