Score:0

Mounting a docker volume to a container on google cloud run?

in flag

I'm deploying a small web app as a docker container on Google Cloud Run. Since I'm working with multiple, large static files (language models, such as GPT-2) I've made changes to my dev environment so that the files are mounted as a volume to the container I'm developing in.

Now I'm confused if it at all is possible to host a docker volume on google cloud and then mount it to a container running on Google Cloud Run?

Or am I using the wrong Google service?

Sidenote: For this project I don't care about reliability and scaling.

John Hanley avatar
cn flag
Google Cloud Run does not support storage persistence or mounting volumes at this time. Based upon the limited details in your question, use Google Compute Engine.
Score:0
ng flag

Cloud Run does not yet support the volumes, as @John Hanley commented.

As a workaround, referring to this article about secret management on Cloud Run, you can deploy your Cloud Run service with the secret mounted as a volume.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.