Hello,
I’m trying to use the --device-read-bps
option but it doesn’t seem to work (or I’m doing it wrong ?)
$ docker run -it --device-read-bps=/dev/nvme0n1p7:2mb ubuntu
docker: Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:402: container init caused \"process_linux.go:367: setting cgroup config for procHooks process caused \\\"failed to write 259:7 2097152 to blkio.throttle.read_bps_device: write /sys/fs/cgroup/blkio/docker/df9d7624a9e9adb3dda0b8ca82df0140118c89f9ee214195abb0edef45b2284b/blkio.throttle.read_bps_device: no such device\\\"\"": unknown.
$ df -P . | awk 'END{print $1}'
/dev/nvme0n1p7
$ docker -v
Docker version 18.06.1-ce, build e68fc7a
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic
Any idea about what is going on here ?
Thanks.