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.

Could not be recognized OAK-1 on Docker container

See original GitHub issue

Description of the bug

I tried to use depthai with OAK-1 on Docker container. But, OAK-1 could not be recognized.

$ python3
>>> import depthai
>>> device = depthai.Device('', False)
XLink initialized.
Sending internal device firmware
Failed to boot the device: 1-ma2480, err code 3
depthai: Error initializing xlink

Steps to reproduce the bug

I upload my Dockerfile. https://gist.github.com/atinfinity/c3255077e23164438c19544687e05b84

System information (version)

Device

Host

  • Ubuntu 20.04 64bit
  • Docker 19.03.13

Docker Container

Reference

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:15 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
Luxonis-Brandoncommented, Jan 6, 2021

Thanks @tomoaki0705 . And we are still discussing now how to do this the right way. Sorry about the delay.

2reactions
Luxonis-Brandoncommented, Jan 26, 2021

@atinfinity - we just got this cleanly working so that you can use Docker now (theoretically) without issue. Sorry about the delay, this one turned out to be tricky! We will get updated instructions here shortly. I just saw this PR merge: https://github.com/luxonis/depthai-docs-website/pull/135/files

Read more comments on GitHub >

github_iconTop Results From Across the Web

Oak-D-Lite not working with official docker container - Luxonis
Tried the following instructions with Oak-D-Lite and it doesn't work docker pull luxonis/depthai-library sudo docker run --rm \ --privileged \ -v /d...
Read more >
How to Fix and Debug Docker Containers Like a Superhero
Container errors are tricky to diagnose, but some investigative magic works wonders. Read along to learn how to debug Docker containers.
Read more >
Docker extension for Visual Studio Code
Docker in Visual Studio Code. The Docker extension makes it easy to build, manage, and deploy containerized applications in Visual Studio Code.
Read more >
Computer Vision 3.2 GA Read OCR container - Azure
For a primer on Docker and container basics, see the Docker overview. ... The container will not function correctly without AVX2 support.
Read more >
Troubleshooting errors with Docker commands when using ...
Error: "Filesystem Verification Failed" or "404: Image Not Found" when pulling an image from an Amazon ECR repository. You may receive the error...
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