How to deploy hub.docker.com container to IoT Edge device?

tinch 1 Reputation point
2022-07-28T01:42:18.097+00:00

I can't find docs form learn.microsoft.com, Thank you for your help.

Azure IoT Edge
Azure IoT Edge
An Azure service that is used to deploy cloud workloads to run on internet of things (IoT) edge devices via standard containers.
598 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,272 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Sander van de Velde | MVP 36,761 Reputation points MVP Volunteer Moderator
    2022-07-28T11:16:48.95+00:00

    Hello @tinch ,

    deploying hub.docker.com modules is simple.

    If your module is public, just fill in the name + tag, just like 'docker pull'.

    For example, my heartbeat module https://hub.docker.com/r/svelde/iot-edge-heartbeat is available with:

    docker pull svelde/iot-edge-heartbeat:3.0.0-amd64

    So, in the deployment manifest (here demonstrated in the Azure portal), it looks like:

    225767-image.png

    There is a separate section for providing repository credentials if your container is private:

    225785-image.png

    If you need to provide extra properties to the container, check out the container create options and environment variables:

    225740-image.png

    ----------

    If the response helped, do "Accept Answer". If it doesn't work, please let us know the progress. By doing so, all community members who have a similar issue will benefit. Your contribution is highly appreciated.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.