https://kedro.org/ logo
#questions
Title
# questions
f

Franklyn Ebikam

01/29/2024, 1:14 PM
Hi team, I am facing some issue. I have a code written with Kedro in a Docker (that is built on docker image) that have refused to run. So far the I can run
make docker-build
but cannot run
make docker-run
without the code failing. I get the below error when I try to run the docker-run command
Copy code
docker run -p 80:80 trc-develop
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
Any idea as to what could be happening here?
n

Nok Lam Chan

01/29/2024, 1:23 PM
This is a warning rather than an error, does it stop your program?
f

Franklyn Ebikam

01/29/2024, 1:39 PM
@Nok Lam Chan yes the program stops running whenever the warning appears
n

Nok Lam Chan

01/29/2024, 1:41 PM
I suggest to follow the stackoverflow post, it seem to be a general Docker issue
f

Franklyn Ebikam

01/29/2024, 1:42 PM
Yea thank you so much. Let me try the solution on stackoverflow first. Will let you know if that fixes it
👍🏼 1
m

Matthias Roels

01/30/2024, 5:34 PM
It’s indeed a generic Docker image. Docker images are specific to the system CPU architecture (amd vs arm). As the error message mentions, you are using an image build for the wrong architecture. On M1 for example, you have to specify the target architecture (amd64) and you can do so by setting the correct flags of your docker build command.
K 1