Skip to content

Instantly share code, notes, and snippets.

@arturfog
Created September 19, 2021 19:50
Show Gist options
  • Save arturfog/4bf5834b49731136020c574e9bcfa1f8 to your computer and use it in GitHub Desktop.
Save arturfog/4bf5834b49731136020c574e9bcfa1f8 to your computer and use it in GitHub Desktop.
Docker devices permissions
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