[Fix] ERROR no matching manifest for linux/arm64/v8 in the manifest list entries

The Error “ERROR: no matching manifest for linux/arm64/v8 in the manifest list entries”, is an error that is invoked whenever you are coding in yaml and trying to create a new container in docker. Given below is the snippet of the error you might get:

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

I would like to share with you the steps I took to fix the “ERROR: no matching manifest for linux/arm64/v8 in the manifest list entries” in your project file.

Why “ERROR no matching manifest for linux/arm64/v8 in the manifest list entries ” error is seen?

The error, “ERROR: no matching manifest for linux/arm64/v8 in the manifest list entries” is seen because you might have missed to add a platform for your docker container.

The detailed solution to fix the error “ERROR: no matching manifest for linux/arm64/v8 in the manifest list entries”, is given below:

How to fix the ERROR no matching manifest for linux/arm64/v8 in the manifest list entries ?

To fix the error, you will have to add a platform code in your yaml code of your project. You can also use MariaDB as a replacement in your yaml code.

To fix the error, “ERROR: no matching manifest for linux/arm64/v8 in the manifest list entries”, you have to follow the one of the below mentioned method:

Method 1: Add a platform code

To fix the error you will have to add platform to your service like the below mentioned code:

services:
  db:
    platform: linux/x86_64
    image: mysql:5.7
    ...

This should fix the error, “ERROR: no matching manifest for linux/arm64/v8 in the manifest list entries”.

Method 2: Use MariaDB

To fix the error you can also consider using MariaDB which would work as a replacement for the code you are using.

services:
  db:
    image: mariadb:10.5.8
    ...

This should fix the error, “ERROR: no matching manifest for linux/arm64/v8 in the manifest list entries”.

Conclusion

To fix the error “ERROR: no matching manifest for linux/arm64/v8 in the manifest list entries”, you will have to add a platform code in your yaml code of your project. You can also use MariaDB as a replacement in your yaml code.