question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Camera-Capture module crash on Windows Docker

See original GitHub issue

Please provide us with the following information:

This issue is for a: (mark with an x)

- [X] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Deploy amd64 solution on a Windows 10 simulated IoT Edge Device.

Any log messages given by the failure

The camera-capture module will crash on runtime with no logging. All the other modules run with logging available.

PS C:\WINDOWS\system32> iotedge logs camera-capture
PS C:\WINDOWS\system32>
PS C:\WINDOWS\system32> iotedge list
NAME                      STATUS           DESCRIPTION            CONFIG
edgeHub                   running          Up an hour             mcr.microsoft.com/azureiotedge-hub:1.0
image-classifier-service  running          Up an hour             fcscontainers.azurecr.io/imageclassifierservice:0.2.4-amd64
camera-capture            stopped          Stopped 4 minutes ago  fcscontainers.azurecr.io/cameracapture:0.2.7-test-amd64
edgeAgent                 running          Up an hour             mcr.microsoft.com/azureiotedge-agent:1.0

Expected/desired behavior

A running camera-capture container with logging on a windows 10 device with docker installed (followed the instructions on Windows).

OS and Version?

Windows 10

Versions

Docker Version 17.12.0-ce-win47 (15139) VS Code version 1.27 PowerShell version 5.1.16299.611

Mention any other details that might be useful

Can’t provide detailed info because there is no logging available. Docker engine is set to Linux containers.


Thanks! We’ll be in touch soon.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ebertramscommented, Sep 20, 2018

Correct, this is a limitation of Docker for Windows. You cant use read streams from a USB device. Reading a stream from a USB device will only work on a Linux host that has direct access to the USB camera (e.g. not the MobyLinuxVM set up by Docker for Windows) with Linux containers.

Also correct that the test-amd64 does not run the python script by default by just open a bash prompt. This is mostly useful to debug your own custom version of this container.

0reactions
baatchcommented, Sep 20, 2018

Ok then I understand. Nowhere does it say that Live webcam feed will not work for the Windows 10 PC option.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Docker Desktop Error and Crash During Startup (Unable to ...
Faulting application path: C:\Program Files\Docker\Docker\Docker Desktop.exe. Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Read more >
Edge Camera Capture by Microsoft | Docker Hub
This container is an IoT Edge module that reads a video stream from a camera or from a video file and optionally send...
Read more >
Docker desktop crash on start up in Windows 10
The main goal to fix this is: Press windows "start" button; Enter by keyboard services + enter; Find two of them : "Hyper-V...
Read more >
CL (VC v19.24) crashes when building in a docker volume folder
Hi,. I am trying to build a C++ project with visual studio 16.4.3 within a docker container on a folder within a docker...
Read more >
Docker Tutorial | Crash Course - YouTube
Docker is an open platform for developers and sysadmins to build, ship, and run distributed applications, whether on laptops, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found