DEV Community

Gil
Gil

Posted on • Originally published at gil.dev on

Are you having problems deploying your Google Cloud Run container?

Does it run fine locally but it won’t start when deployed and revisioned? Are you using an M1 Mac? You likely need to add this target flag at the end of your docker build command.

--platform linux/amd64

docker build --platform linux/amd64
Enter fullscreen mode Exit fullscreen mode

https://stackoverflow.com/a/68766137/332586

Top comments (0)