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)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay