-
Notifications
You must be signed in to change notification settings - Fork 302
Closed
Labels
Description
Expected behavior
Serial Port from host available to container
docker run --device COM3:/dev/ttyS2
Actual behavior
docker run --device COM3:/dev/ttyS2 -v /c/Projects/mh/local:/usr/src/misterhouse/local -t -i zonyl/misterhouse
C:\Program Files\Docker\Docker\Resources\bin\docker.exe: Error response from daemon: linux runtime spec devices: error gathering device information while adding custom device "COM3": lstat COM3: no such file or
directory.
Information
PS C:\Projects\mh\local> [System.IO.Ports.SerialPort]::getportnames()
COM4
COM3
PS C:\Projects\mh\local> [System.Environment]::OSVersion.Version
Major Minor Build Revision
10 0 14986 0
Steps to reproduce the behavior
- ...docker run --device COM3:/dev/ttyS2 -v /c/Projects/mh/local:/usr/src/misterhouse/local -t -i zonyl/misterhouse
Reactions are currently unavailable