# prefect-community

Birkir Björnsson

05/04/2022, 2:33 PM
Hi I am new to Prefect but over last few days I have managed to create a few flows and executed them from Prefect Cloud and Local Agents. Now I have been playing around with using docker containers for the agents and scripts are on the containers. That is working when the container is running locally. So next I decided to try to build a docker and run it with GCP Cloud Run and CI/CD pipeline with Github Actions. That builds but failes in deployment and I get this error: Cloud Run error: The user-provided container failed to start and listen on the port defined provided by the PORT=8080 environment variable. Logs for this revision might contain more information. Logs URL: For more troubleshooting guidance, see Has anyone managed to get this running in GCP Cloud run? Any hints are most welcomed and I have no idea how to solve this port issue. I am of course open for other ways to deploy and run my projects in containers. Basically looking for the simplest solution if possible 😄 Thanks in advance, Birkir

Kevin Kho

05/04/2022, 2:42 PM
I believe your container needs to expose this PORT to provide healthchecks. Otherwise it will just shut down. We have support for Vertex though so you can try that

Birkir Björnsson

05/05/2022, 12:17 PM
Thanks for the feedback Kevin. After some reading I think that Cloud Run is not suitable for the this. So I will have a look at Vertex