A program in a Windows (Server 2016) Docker Container and using an installed API, wants to communicate, through the API, with a driver.
To achieve that, it traditionnaly requires to get the driver handle via the C++ function CreateFile(path, GENERIC_READ|GENERIC_WRITE, 0, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
This function when launched in a Docker Container returns an error 0x00000002 which is an ERROR_FILE_NOT_FOUND.
Our thought is that, giving the architecture of Docker for Windows and the extra layers running in user-space, it might be impossible.
Hyper-V is unabled.
Is it possible ? Is the system call of windowsservercore consistent with this type of application ?