[Feature Request] To support passing host device path(--devices=/dev/device-name) in SWARM mode. #35028
Labels
area/swarm
kind/feature
Functionality or other elements that the project doesn't currently have. Features are new and shiny
We have a use-case, where containers part of swarm, need to access host system driver, for hardware support on the target node, where it can get deployed, as part of swarm.
This is a feature request, to support, passing --devices=/dev/device-name, just like how it is supported in docker run command.
Just like --network=host option was recently added to swarm mode, it would also make sense to add support, to leverage hardware support by allowing access to specific devices on the target node, part of swarm.
So, for example:
sudo docker service create --name new_service --device=/dev/device-name --network=host image:latest
The text was updated successfully, but these errors were encountered: