Comments (6)
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.
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.
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.
from examples.
submitted this PR we can talk about in our catch up meeting (hopefully) tomorrow
#297
from examples.
@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)
- Documentation📄: https://github.com/open-horizon/examples/blob/master/edge/evtstreams/cpu2evtstreams/PolicyRegister.md#deployment-policy HOT 5
- CPU_PERCENT and GPS examples do not expose port HOT 12
- cpu_percent: aarch64/alpine docker container deprecated
- gps: aarch64/alpine docker container has been deprecated HOT 2
- Feature Request: helloworld - Converge on one Dockerfile
- Feature Request: helloMMS Converge on one Dockerfile HOT 4
- Feature Request: helloSecretWorld - Converge on one Dockerfile HOT 6
- Feature Request: mqttbroker Converge on one Dockerfile HOT 2
- Documentation📄: Outdated supported versions in README.md HOT 2
- Feature Request: Only build/push modified examples with GitHub action HOT 1
- Documentation📄: Move the SDR docs into the SDR directory HOT 1
- Documentation📄: operator example formatting issues HOT 1
- Add multi-arch support to Nginx-Operator example service
- Feature Request: Converge riscv on one Dockerfile
- Migrate fft_client and fft_server services to the open-horizon-services project
- Feature Request: Add s390x support for helloworld service
- Feature Request: Add release management workflow to Examples
- Feature Request: Modify helloSecretWorld to work with Open Bao HOT 1
- Feature Request: Modify GitHub action to push modified examples to the openhorizon docker hub
- MMS Operator Example HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from examples.