Docker: "Unable to pull 'tomcat:8.5' : no matching manifest for linux/arm/v7 in the manifest list entries"

603 Views Asked by At

On Raspberry Pi, I got an error when I tried to set up ODK-X Sync Endpoint.

I referred to the instruction from https://docs.odk-x.org/sync-endpoint-manual-setup/

This is the command I ran:

$ mvn clean install

The error message is as below:

Failed to execute goal io.fabric8:docker-maven-plugin:0.34.1:build (start) on project sync-endpoint-docker-swarm: Unable to pull 'tomcat:8.5' : no matching manifest for linux/arm/v7 in the manifest list entries

How can I solve this problem?

1

There are 1 best solutions below

3
futur On

The error is fairly clear: tomcat:8.5, which sync-endpoint depends on, does not provide a manifest for the armv7 architecture. You can see this on the page for tomcat's 8.5 tag, showing that it only provides images for linux/amd64 and linux/arm64/v8.

If you need to use that Dockerfile as is and cannot change the tomcat version used, you will need to use a device with a matching architecture. If you are able to modify the Dockerfile and are willing to use a different version of tomcat, it appears that there are other tags which do support linux/arm32/v7.