Closed ksivasenthil closed 4 years ago
What repo did you try this with?
This repo. Url to launch the cloud shell was https://deploy.cloud.run/?git_repo=https://github.com/GoogleCloudPlatform/cloud-run-hello.git
Strange. It looks like it cloned the wrong repo. It should have cloned https://github.com/GoogleCloudPlatform/cloud-run-hello.git
Can you verify you are on master and which repo it cloned?
Apologies, seems I had the wrong link and did not even realize it. Master branch is just fine. But I guess the problem will surface with larger repo or a repo with larger docker. Worried about such a scenario now. But I guess will take this question to forum rather than an issue here which it clearly is not. Thanks @jamesward !
No worries! I appreciate you filing this cause others may run into the same thing. Is there somewhere that provided you the wrong link?
I click the button "Run on Google Cloud" to launch the Google Cloud Shell. Once I land on the shell, I select the project to which I need the sample to be deployed and the region. All is well till then.
Post that I notice the following command is run -
docker build -t gcr.io/[project-id-masked]/cloud-run-button .
After waiting for a long time I get the error
I attempted the following commands and noticed the docker system used up all the memory
docker system df
Following is the output -
But the system level df yields the following output -
I also attempted the command
docker system prune --all --force
which reclaims all the 1.094 GB. However, if I re-run the "Run on Google Cloud" I hit against the same problem.What should I change to have a successful build. I did some search on increasing the memory for the docker system. But, with no luck. More and more commands are towards increasing the docker container memory. But for me, I am stuck even to get an image registered in the docker repository let alone reach the stage of running a container.
I did all this in a fresh google cloud account. I do not understand what is going wrong here.