I'm currently trying to create and connect a pair of virtual serial ports in a Docker container. It is imperative to link COM3 with and COM4 within the same container. It also has to be a Windows container.
I've tried com0com through the "install" command but the following message pops out and the ports are not successfully installed:
DIALOG: {
UpdateDriverForPlugAndPlayDevices("root\com0com", "C:\Program Files (x86)\com0com\com0com.inf", 0x0)
ERROR: 13 - The data is invalid.
}
This works perfectly fine outside the Docker container (tested through PowerShell).
Any advice would be greatly appreciated.