-
Notifications
You must be signed in to change notification settings - Fork 18.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to escape colon when add device to docker container? #39293
Comments
Based on how it looks to be implemented I think that it is not possible to escape it: So your options are either use path under |
Linux Industridl I/O devices uses |
#22825 also discusses this I think there was a proposal somewhere to extend the
|
This bug also prevents assigning persistent devices, e.g. /dev/dri devices because (like /dev/sd*), the device names in /dev/dri are assigned in ascending order and not by actual device location (e.g. PCI slot/address). Because the device locations in PCI paths use colons (check /dev/dri/by-path/), one can't make any specific device accessible to any containers without having that actually be dependent on device initialization order, which is subject to the kernel module handling that device. |
I have the same problems run DPDK apps too, any news, does the latest docker version solve this issue ? |
Description
As the question post here, if device name has
:
in it,--device
cannot work.Steps to reproduce the issue:
Describe the results you received:
Describe the results you expected:
No error.
Output of
docker version
:Output of
docker info
:The text was updated successfully, but these errors were encountered: