I launch R studio VM instance from Google console. I install many packages from the R studio. Now once I stop the VM and restart it, the packages get deleted. SO again I have to install the packages afresh.
I got so articles on web which talk about creating an image after installing packages then creating VM on top of it.
But I want to use the same VM everytime.
Somewhere I got to know that this is due to restarting of docker. Can you just tell what changes I should make to the console so that the dockerfile won't get restarted. So that I don't have to install the packages everytime I start the VM.