Skip to content
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

[Feature Request] To support passing host device path(--devices=/dev/device-name) in SWARM mode. #35028

Closed
sudharkrish opened this issue Sep 29, 2017 · 2 comments
Labels
area/swarm kind/feature Functionality or other elements that the project doesn't currently have. Features are new and shiny

Comments

@sudharkrish
Copy link

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

@sudharkrish sudharkrish changed the title [Feature Request] To support passing host device path in SWARM mode. [Feature Request] To support passing host device path(--devices=/dev/device-name) in SWARM mode. Sep 29, 2017
@fntlnz fntlnz added the kind/feature Functionality or other elements that the project doesn't currently have. Features are new and shiny label Sep 29, 2017
@fntlnz
Copy link
Member

fntlnz commented Sep 29, 2017

@sudharkrish there's an ongoing discussion for parameters support in service create, please refer to: #25303

Closing as duplicate

@fntlnz fntlnz closed this as completed Sep 29, 2017
@fntlnz
Copy link
Member

fntlnz commented Sep 29, 2017

Duplicate of: #24865
Tracked in swarmkit as: moby/swarmkit#1244

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/swarm kind/feature Functionality or other elements that the project doesn't currently have. Features are new and shiny
Projects
None yet
Development

No branches or pull requests

3 participants