Skip to content

add support for host devices #241

@proppy

Description

@proppy

It would be nice if the HostConfig in CreateContainerOptions had support for exposing host devices to the container (like docker run --device does).

This could be passed as an additional member of the HostConfig when calling the /containers/create API method:

{
    "PathOnHost": "/dev/deviceName",
    "PathInContainer": "/dev/deviceName",
    "CgroupPermissions": "mrw"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions