GithubHelp home page GithubHelp logo

Comments (6)

t-fine avatar t-fine commented on August 11, 2024

I moved this into the "In Progress" column because this became an issue with updates to horizon and running privileged containers, but we are bypassing this at the moment by updating the node policy when registering with the cpu2evtstreams pattern

from examples.

bmpotter avatar bmpotter commented on August 11, 2024

I think you'll need to work with the anax team to have them add whatever options they need to when making their docker api call to start the container when the devices field is specified in the deployment field.

You might have to put together a small test service that shows that docker run --device=... does this. See https://docs.docker.com/engine/reference/run/#runtime-privilege-and-linux-capabilities

from examples.

t-fine avatar t-fine commented on August 11, 2024

I figured it out! Will share more details in scrum tomorrow, but here's the device mapping argument that allowed me to access the GPS device without "privileged": true, (wanna do a little more testing though)

"devices": [ "/dev/ttyACM0:/dev/ttyACM0" ]

from examples.

t-fine avatar t-fine commented on August 11, 2024

https://github.com/t-fine/examples/blob/gps-unprivileged/edge/services/gps/horizon/service.definition.json

from examples.

t-fine avatar t-fine commented on August 11, 2024

submitted this PR we can talk about in our catch up meeting (hopefully) tomorrow
#297

from examples.

mikehyde avatar mikehyde commented on August 11, 2024

@Troy-Fine @t-fine Please either close this issue (if completed or no longer relevant), or change the release to Winter 1Q2021 or Future.

from examples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.