Closed hxlnt closed 6 years ago
i2c is made available to the module via the device parameters passed to the "Container Create Options":
"Devices": [
{
"PathOnHost": "/dev/i2c-1",
"PathInContainer": "/dev/i2c-1",
"CgroupPermissions": "rwm"
},
{
"PathOnHost": "/dev/gpiomem",
"PathInContainer": "/dev/gpiomem",
"CgroupPermissions": "rwm"
}
],
Done: Not sure; needs more information.