Thank you very much! Both hints and repositories have been very useful.
what worked in the end for me, at least to get the container started, was actually to set the platform in docker-compose. fuseki: platform: linux/amd64 and change the first FROM statement to FROM openjdk:${JAVA_VERSION}-jdk-alpine AS base I then get to the same as Martynas “No dataset specified on the command line" Thank you very much Pietro > On 31 May 2024, at 08:49, Martynas Jusevičius <marty...@atomgraph.com> wrote: > > Hi Pietro, > > I get a warning but I can run the > https://github.com/AtomGraph/fuseki-docker image without having it > built for Mac. > That might be because I have checked "open using Rosetta" in the > Terminal.app Get Info. > > % docker run atomgraph/fuseki > > WARNING: The requested image's platform (linux/amd64) does not match > the detected host platform (linux/arm64/v8) and no specific platform > was requested > > No dataset specified on the command line. > > > Martynas > > On Thu, May 30, 2024 at 2:44 PM Pietro Liuzzo <pietro.liu...@gmail.com> wrote: >> >> Dear all, >> >> I am not able to find a base image for java 17 which would work on MAC M1 >> for the Docker-compose file installing Apache Jena Fuseki (from here >> <https://repo1.maven.org/maven2/org/apache/jena/jena-fuseki-docker/5.0.0/>). >> Apparently eclipse-temurin:17-alpine does not support M1. I have tried >> several of the variants of openjdk 17 images which I could find, but the >> JAVA_HOME then cannot be found and / or objcopy cannot be found. >> >> Did anyone succeed in adapting the Dockerfile to work on Mac with M1/M2 ? >> >> Additionally, I would like to ask if I can point from my configurations in >> Docker-compose to an existing database location accessed by multiple >> instances of Apache Jena Fuseki running on different machines. The location >> of the db is on a shared mount. >> >> Thanks a lot! >> All best >> Pietro