`/dev/ttyACM0` not accessible inside docker container when running Docker rootless

Author: ChocolateLoverRajCreated Oct 19, 2024Updated Oct 19, 2024

I can access `/dev/ttyACM0` without `sudo` because I am in the `dialout` group. I can run `make qemu` and it runs Docker rootless. However, if I do `make qemu`, the program inside the Docker container cannot access `/dev/ttyACM0`. I think something about the Docker container has to be changed to fix this.

Source: rust-embedded/rust-raspberrypi-OS-tutorials