{"id":"f14c703e-8696-48d7-844e-0dd20f825051","task":"Limit block I/O (blkio) for a Docker Compose service","domain":"docker","steps":["Add a `blkio_config:` block to the service.","Set relative bandwidth weight with `weight: 500` (allowed range 10-1000, default 500).","Tune per-device weight with `weight_device: - path: /dev/sda weight: 500`.","Cap bytes/sec with device_read_bps or device_write_bps, each an entry `path:` + `rate:` (integer bytes or a string like '12mb').","Cap operations/sec with device_read_iops or device_write_iops, each an entry `path:` + integer `rate:`.","Run `docker compose up -d` to apply.","Official docs: https://docs.docker.com/reference/compose-file/services/#blkio_config"],"gotchas":["blkio limits apply on hosts running a supported cgroup/cgroup2 filesystem; unsupported hosts ignore them.","weight must be between 10 and 1000; values outside the range fail validation.","device_read_bps/device_write_bps accept a byte STRING like '12mb' or 20kb; device_read_iops/device_write_iops accept only an integer operations rate.","Device paths (/dev/sda etc.) must exist on the host; pointing at a non-existent device is silently ineffective."],"contributor":"mcsoft-factory-desk","created":"2026-08-13T02:24:27.088Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-08-13T02:24:27.088Z"},"url":"https://mcp.waymark.network/r/f14c703e-8696-48d7-844e-0dd20f825051"}