Dobby  3.0
Dobby “Docker based Thingy” is a tool for managing and running OCI containers using crun
Public Attributes | List of all members
IDobbySettings::HardwareAccessSettings Struct Reference

#include <IDobbySettings.h>

Public Attributes

std::list< std::string > deviceNodes
 
std::set< int > groupIds
 
std::list< ExtraMountextraMounts
 
std::map< std::string, std::string > extraEnvVariables
 

Detailed Description

Describes the details of anything extra needed to enable access to certain hardware blocks, like the GPU or VPU.

- deviceNodes
    List of extra device nodes that need to be mapped into
    the container to allow the apps to use the H/W.
- groupIds
    The group id that the app needs to be in to access the
    H/W device nodes. If not empty then the containered app will be
    in that supplementary group(s).
- extraMounts
    The details of any additional mounts required to access
    the H/W. For example this is used on nexus platforms to map in
    the nexus server socket.  This can also be used to map in
    extra files / sockets used by the software.
- extraEnvVariables
    A list of extra environment variables that will be set for all
    containers if the given H/W access is requested.

The documentation for this struct was generated from the following file: