Created
September 19, 2021 19:50
-
-
Save arturfog/4bf5834b49731136020c574e9bcfa1f8 to your computer and use it in GitHub Desktop.
Docker devices permissions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -v /dev/bus:/dev/bus:ro -v /dev/serial:/dev/serial:ro -i -t --entrypoint /bin/bash debian:amd64 | |
echo 'c 189:* rwm' > /sys/fs/cgroup/devices/docker/$A*/devices.allow |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment