You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Request] Add blkio/cgroup BFQ tuning flags to container run/create #1512
Please add block I/O tuning flags to container run and container create for cgroup/BFQ-style workload shaping.
Compose compatibility
Docker Compose exposes this through service.blkio_config. Container-Compose can parse the field, but it must currently warn-skip it because apple/container has no equivalent runtime flag surface.
Requested CLI shape
--blkio-weight <weight>
--blkio-weight-device <path>:<weight>
--device-read-bps <path>:<rate>
--device-write-bps <path>:<rate>
--device-read-iops <path>:<rate>
--device-write-iops <path>:<rate>
matching support on container create
The exact implementation can be constrained to what the Linux guest and host virtualization stack can support, but a first-class CLI/API surface would let compose translators pass through supported block-I/O constraints instead of silently dropping them.
changed the title [-]Add blkio/cgroup BFQ tuning flags to container run/create[/-][+][Request] Add blkio/cgroup BFQ tuning flags to container run/create[/+]on May 7, 2026
@dcantah Would appreciate your input on the UX here. My fear here is that we're hanging a lot of very esoteric first-class options here which are going to clutter the help display. An key=value option list like what gets done for filesystem creation, filesystem mounting, DNS options, with documentation of options instead of command line help etc. feels like the better way to go.
Activity
[-]Add blkio/cgroup BFQ tuning flags to container run/create[/-][+][Request] Add blkio/cgroup BFQ tuning flags to container run/create[/+]jglogan commentedon May 18, 2026
@dcantah Would appreciate your input on the UX here. My fear here is that we're hanging a lot of very esoteric first-class options here which are going to clutter the help display. An key=value option list like what gets done for filesystem creation, filesystem mounting, DNS options, with documentation of options instead of command line help etc. feels like the better way to go.
chrisgeo commentedon May 23, 2026
@jglogan @dcantah I was mulling on this a bit. Would this option make more sense?
Using a repeated grouped option, following the existing key/value-style patterns:
It would keep the top-level surface clean, while still giving the ability to map fields in a plugin like container-compose.
Update --blkio CLI shape and adopt containerization PR apple#739 wrapper
Update --blkio CLI shape and adopt containerization PR apple#739 wrapper
Update --blkio CLI shape and adopt containerization PR apple#739 wrapper
Update --blkio CLI shape and adopt containerization PR apple#739 wrapper
Update --blkio CLI shape and adopt containerization PR apple#739 wrapper