I have a need to share specific devices from /dev on my host Linux machine with my docker containers.
/dev
The --privileged flag works for shari
--privileged
You are looking check the flag --device
--device
--device=[] Add a host device to the container (e.g. --device=/dev/sdc:/dev/xvdc:rwm)
Have a nice day!