我的最终目标是在容器内安装一个存储桶,以便使用 google run 进行部署。
为了挂载存储桶,我使用了需要特权容器的 gcsfuse。(https://github.com/maciekrb/gcs-fuse-sample 等...)
使用 VirtualMachine 我会使用:
gcloud compute instances create-with-container \
[...] \
--container-privileged
Run Code Online (Sandbox Code Playgroud)
使用谷歌运行时:
gcloud beta run deploy [...]
Run Code Online (Sandbox Code Playgroud)
但是好像没有这个选项。
任何提示将不胜感激。