My issue is the following: I want to give to my container full access to a specific device (an FPGA card). So my plan is to use the --device option. This device option’s syntax is the following:
docker run --device=Host Device:Container Device Mapping:Permissions
My problem is the name of my device contains “:” characters like in /dev/mydevice/FAB,yp-troll.0004:00:00.1.0. And so when using this name, docker is lost:
docker: bad mode specified: 00.1.0.
Needless to say I cannot change the name of my device (or use a symbolic link with a simplest name), because this exact name is used by several tools.
How could I use such device name without docker interpreting the “:” in the name ?
(I did try ', ", \, etc)
Thanks in advance…