The problem of this might be due to the fact you are using a base image that
does not correspond to your device-type architecture e.g. arm, aarch64, ...
Check your system with the following command
$ uname -m
and check the base image on DockerHub
If anyone has this problem when running the image on an x86 machine,
build the docker image with --platform linux/amd64