I need to use --device-cgroup-rule
option, it works fine with docker run
command, but I want to use it also in my docker-compose.yml file. But I didn't find it in the documentation. Is it possible at least?
documented here https://docs.docker.com/compose/compose-file/compose-file-v2/#device_cgroup_rules
device_cgroup_rules:
- 'c 1:3 mr'
- 'a 7:* rmw'
it has been added quite recently it seems from the thread https://github.com/docker/compose/issues/5622
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With