Create new Docker Manifest using two different OS architecture Manifest Images.

Dhanavath Vishnu 366 Reputation points
2024-01-23T17:48:02.7+00:00

Hi Team, I am having a scenario where, I built two docker images (Azure IoT Edge modules) with different OS architecture (Arm64, AMd64). I have used Linux scripts provided by Microsoft in their repo, I have built the images and pushed to the azure container repository. As the images builds are happened internally using the buildx commands, and there are two different docker files for two different OS architecture, I have to run the scripts independently. The problem I am facing is, as the images are build using the buildx commands, the images are builds as manifest images, which shows multiplatform support in the registry. User's image AMD64User's image

ARM64 User's image

Now I want to create a single manifest using both Amd64 and Arm64 manifest images, I have tried using the docker manifest commands (amend, annotate), it seems it works for only combining docker images but not the docker manifest images. Is it possible to create a new manifest using two different OS architecture docker manifest images? Did anyone face similar issues? if so, please do suggest the solution for this. Thanks D. Vishnu

Azure IoT
Azure IoT
A category of Azure services for internet of things devices.
382 questions
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.
541 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. LeelaRajeshSayana-MSFT 13,471 Reputation points
    2024-01-23T19:10:13.58+00:00

    Hi @Dhanavath Vishnu Thank you for posting the question here. This is definitely a unique use case. I will let our community SMEs review this scenario and see if they may be able to share some guidance on this. While we wait for additional feedback, it might be beneficial to post this question on the Docker community forums as they might be better equipped to provide some guidance on this. If you do post this question on the Docker community forum, I appreciate it if you can share the link here for tracking. Thank you.

    1 person found this answer helpful.
    0 comments No comments