Description Usage Arguments Value See Also
Commit and save a running container or docker image to the Google Container Registry
1 2 3 4 5 6 7 8 9 | gce_push_registry(
instance,
save_name,
container_name = NULL,
image_name = NULL,
container_url = "gcr.io",
project = gce_get_global_project(),
wait = FALSE
)
|
instance |
The VM to run within |
save_name |
The new name for the saved image |
container_name |
A running docker container. Can't be set if |
image_name |
A docker image on the instance. Can't be set if |
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, especially 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 |
The tag the image was tagged with on GCE
Other container registry functions:
gce_pull_registry()
,
gce_tag_container()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.