Code Monkey home page Code Monkey logo

azure-iot-edge's People

Contributors

dirkmeihoefer avatar ikkertsergei avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

renehezser

azure-iot-edge's Issues

Trying to access another device from the host network from the IoT Edge modules

Based on the documentation we succeed to deploy the azure-iot-edge runtime on the WAGO device connected it our Azure IoTHub and successfully deployed some modules on the device.

But when we try to connect to external device via a TCP/UDP connection from a IoT Edge module running on the Wago device we're not able to access the external device. The external device is in the same ip segment as the host network of the Wago device. And also if we deploy an container on the host network of the docker instance we are able to access the external device.

So we assume that we cannot access the external device because all the containers for the IoT Edge modules are created within a separate azure-iot-edge docker network and probably the routing is not configured properly. Do you perhaps have some guidance on how to approach this scenario? And is this even a supported scenario from this device?

docker not found

With the newest version the container starts, but the docker-entrypoint.sh fails with "docker not found" in line 20.

me@randomhost:~ $ sudo docker run --name azure-iot-edge-runtime -v /var/run/docker.sock:/var/run/docker.sock -v /config:/config wagoautomation/azure-iot-edge
azure-iot-edge
b5e5b8a864df
/docker-entrypoint.sh: line 20: docker: command not found
/docker-entrypoint.sh: line 21: docker: command not found
Device "eth1" does not exist.
...

To have docker available from inside the container, add -v /usr/bin/docker:/usr/bin/docker to the mapped volumes.

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.