Learn R Programming

googleComputeEngineR (version 0.2.0)

gce_vm_container: Launch a container-VM image

Description

This lets you specify docker images when creating the VM. These are a special class of Google instances that are setup for running Docker containers.

Usage

gce_vm_container(file = NULL, cloud_init = NULL,
  image_family = "cos-stable", ...)

Arguments

file

file location of a cloud-init file. One of file or cloud_init must be supplied

cloud_init

contents of a cloud-init file, for example read via readChar(file, nchars = 32768)

image_family

An image-family. It must come from the google-containers family.

...

Other arguments passed to gce_vm_create

Value

A zone operation

Details

file expects a filepath to a https://cloudinit.readthedocs.io/en/latest/topics/format.html configuration file.

image_project will be ignored if set, overriden to cos-cloud. If you want to set it then use the gce_vm_create function directly that this function wraps with some defaults.

See Also

https://cloud.google.com/container-optimized-os/docs/how-to/create-configure-instance