Installed packages disappeared in Google Cloud Shell

人走茶凉 提交于 2019-12-01 13:05:22

This is a known limitation of Google Cloud Shell - after about an hour of inactivity, any modifications outside of $HOME are lost, including installed packages. See Custom installed software packages and persistence.

Also note this quote regarding Usage limits:

If you do not access Cloud Shell regularly, we may recycle your home disk. You will receive an email notification before we do so and simply starting a session will prevent its removal. Please consider a different solution on Google Cloud Storage for sensitive data you wish to store long term.

You mean in Cloud Shell? Cloud Shell connects to a persistent disk and whatever you install on this disk should be saved. If you see otherwise consistently, let us know the repo steps.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!