Questions tagged [multiarch]

52 questions
14
votes
1 answer

docker-compose multi arch

Docker images can be built for multi architectures. This is usually done by creating a specific image per architecture, and then creating manifest as a proxy to the right image depending on the system that pulls the image. That's great. Now, with…
MrE
  • 19,584
  • 12
  • 87
  • 105
12
votes
1 answer

Build X86 docker image on ARM?

I have setup a build pipeline on an ARM device that is building a .NET Core application. The last step of the build pipeline would be to store the compiled .NET Core app in a docker image. Is it possible to store the app in the .NET Core runtime…
jwillmer
  • 3,570
  • 5
  • 37
  • 73
11
votes
1 answer

re-tagging multi-arch docker image

I'm looking for a way to re-tag existing image under different name (for example we release version x.y.z and we would like to tag is as latests as well). Currently I would do: docker pull docker/my-app:123 docker tag docker/my-app:123…
Wojtek
  • 1,845
  • 1
  • 14
  • 33
8
votes
1 answer

Docker build fails for ARM images

I try to build a docker image for multiple architectures on Travis-CI. This is working quite well for amd64 and i386 but fails for ARM. The Dockerfile build on top of {ARCH}/nextcloud:apache which is build on top of php:7.3-apache-stretch which…
user3775041
  • 192
  • 1
  • 3
  • 11
7
votes
1 answer

Can't install SQL Server command-line tools on Ubuntu due to `unmet dependencies`

After sucessfully installing Sql Server Following the docs, Failed to install SQL Server command-line tools on Ubuntu 20.04. Efforts led to below commands and results: curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add…
user13747357
6
votes
2 answers

GitLab CI/CD: building multiarch Docker images

I want an easy way to build multiarch Docker images in a GitLab runner. By easy, I mean that I just would have to add a .gitlab-ci.yml in my project and it would work. Here is the .gitlab-ci.yml that I wrote. It builds a multiarch image using buildx…
Cl00e9ment
  • 773
  • 1
  • 13
  • 30
6
votes
1 answer

How to fix "denied: requested access to the resource is denied" error from Docker Hub when creating a manifest

I am trying to create a manifest for my docker hub repository such that I have a multi-platform image. My procedure was as follows: I started with creating an empty repository and pushing two images to it, one for amd64 and one for arm64. These…
Sophia
  • 303
  • 3
  • 9
4
votes
2 answers

Setting conditional variables in a Dockerfile

I'm trying to create a multi-architecture docker image via buildkit, using the predefined TARGETARCH arg variable. What I want to do is - I think - something like bash variable indirection, but I understand that's not supported and I'm struggling to…
Wintermute
  • 2,973
  • 4
  • 32
  • 52
4
votes
0 answers

How to use Docker Content Trust to sign multi-arch images built with docker buildx?

I am trying to build, sign, and push a multi-arch container image using a Harbor registry with Notary. Following the steps in https://www.cncf.io/blog/2021/07/28/enforcing-image-trust-on-docker-containers-using-notary/ I was able to get the simple…
Spencer Small
  • 91
  • 1
  • 1
  • 5
4
votes
1 answer

docker manifest create annotate and push in a script

I have DockerHub build images for x86_64 for my projects. The images have this naming: myname/project:version_architecture; such as foo/bar:1.0.0_x86_64. Then I build aarch64 images on a RPi4: foo/bar:1.0.0_aarch64, which I then push to…
4
votes
1 answer

Building two differently tagged docker images with docker-compose

I am currently on the way to deploying a Java application with Docker and K8s. As I am using a Raspberry Pi Kubernetes Cluster I want to generate two images, one for the x86 platform, and one for the arm32v7 (for testing on the Raspberry cluster).…
A7exSchin
  • 382
  • 3
  • 17
3
votes
1 answer

How to multiarch build images sequentially with docker buildx

When I want to create multiarch builds with docker, I use the command: docker buildx build --push --platform -t -t . This works perfectly fine, but seems to be building the images concurrently. In most situations, it…
Luca Carlon
  • 9,546
  • 13
  • 59
  • 91
3
votes
3 answers

how to use docker buildx pushing image to registry use http protocol?

I want to build a multi-arch image and push it to my private registry. However, I got an error "failed to solve: rpc error: code = Unknown desc = failed to do request:…
Free
  • 153
  • 2
  • 8
3
votes
1 answer

Is a Kubernetes Arm Master and x86 nodes wise/possible?

I don't even know if this is possible, but would it be wise? I don't know, but I think that the master node would not have to handle as much as the worker nodes. With that assumption I wanted to make my master as energy efficient as possible by…
Marc
  • 4,820
  • 3
  • 38
  • 36
2
votes
0 answers

How to compile a Perl file to be executable on multiple architectures?

I'm trying to compile Perl so that it can run on both Arm architecture and x86_64 machines, using pp. I see from the documentation that Perl has a -m or --multiarch option, which will compile a Perl file into a PAR that can be run on multiple…
Lou
  • 2,200
  • 2
  • 33
  • 66
1
2 3 4