universal-resolver icon indicating copy to clipboard operation
universal-resolver copied to clipboard

Add support for linux/arm64 architecture to build on Mac

Open jakubkoci opened this issue 10 months ago • 3 comments

I would like to run universal-resolver on my Mac machine, docker-compose returning:

no matching manifest for linux/arm64/v8 in the manifest list entries

I assume it's because there are no docker images build for linux/arm64. Is there any plan to do so?

jakubkoci avatar Aug 15 '23 11:08 jakubkoci

Hello @jakubkoci thanks for raising this issue..! I admit I have no experience with running Docker on a Mac.

Would you perhaps be able to contribute a Pull Request to add support for Mac?

peacekeeper avatar Aug 15 '23 14:08 peacekeeper

I think the problem here is that we at DIF/Danubetech don't control all the drivers in the docker-compose file.
@jakubkoci feel free to create a Pull Request for the main application and drivers here on DIF. We are happy to try and merge them.

BernhardFuchs avatar Aug 16 '23 08:08 BernhardFuchs

I was able to run this docker compose on a silicon mac by explicitly setting the platform:

DOCKER_DEFAULT_PLATFORM=linux/x86_64/v8 docker compose up

I'm able to run most containers in the docker-compose but haven't tested the setup yet, so not sure if it fully works as expected

podefr avatar Aug 20 '23 12:08 podefr