I got an error during building docker image in Apple Macbook Pro M1.
Error response from daemon: no matching manifest for linux/arm64/v8 in the manifest list entries
Solution: Added --platform=linux/x86_64
FROM --platform=linux/x86_64 ubuntu:18.04
or
ARG arch
FROM --platform=linux/${arch} ubuntu:18.04