gce_pull_registry: Load a previously saved private Google Container

Description Usage Arguments Value See Also

View source: R/build.R

Description

Load a previously saved private Google Container

Usage

1
2
3
4
5
6
7
8
gce_pull_registry(
  instance,
  container_name,
  container_url = "gcr.io",
  pull_only = FALSE,
  project = gce_get_global_project(),
  ...
)

Arguments

instance

The VM to run within

container_name

The name of the saved container

container_url

The URL of where the container was saved

pull_only

If TRUE, will not run the container, only pull to the VM

project

Project ID for this request, default as set by gce_get_global_project

...

Other arguments passed to docker_run or docker_pull

After starting a VM, you can load the container again using this command.

  • For Shiny based containers, pass "-p 80:3838" to run it at the IP URL

  • For RStudio based containers, pass "-p 80:8787" to run it at the IP URL

Value

The instance

See Also

Other container registry functions: gce_push_registry(), gce_tag_container()


cloudyr/googleComputeEngineR documentation built on Jan. 23, 2022, 8:30 a.m.