Saves a running docker container to your projects Google Cloud Storage.

gce_save_container(instance, container_name, image_name = "rstudio",
  container_url = "gcr.io", project = gce_get_global_project(),
  wait = FALSE)

Arguments

instance
The VM to run within
container_name
The name for the saved container
image_name
The running docker container you are saving.
container_url
The URL of where to save container
project
Project ID for this request, default as set by gce_get_global_project This will only work on the Google Container optimised containers of image_family google_containers. Otherwise you will need to get a container authentication yourself (for now) It will start the push but it may take a long time to finish, espeically the first time, this function will return whilst waiting but don't turn off the VM until its finished.
wait
Will wait for operation to finish on the instance if TRUE

Value

TRUE if commands finish