'Docker (Apple Silicon/M1 Preview) goaws (no matching manifest for linux/arm64/v8 in the manifest list entries)

I am using Apple M1 Pro

I am getting the following error when i try to run docker-compose up -d

[+] Running 0/1
 ⠿ goaws Error                                                                                                                                                                                             3.9s
no matching manifest for linux/arm64/v8 in the manifest list entries

I tried to add platform: linux/amd64 to the docker-compose.yml file and run again. But it doesn't work.

Any possible solutions?



Solution 1:[1]

I noticed similar post, they used platform: linux/x86_64. not platform: linux/amd64, maybe that could be the issue?

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 matic1123