create_dockerfile | R Documentation |
Different dockerfiles are required for the various docker images.
create_dockerfile(
image,
parent,
script,
description,
...,
tag = as.character(getRversion()),
labels = NULL,
save_as = fs::path("dockerfiles", glue::glue("{image}_{tag}.Dockerfile"))
)
image |
name of docker image to create, one of
|
parent |
|
script |
|
description |
content of docker image. |
... |
arguments passed on to internal helper functions
(e.g. |
tag |
|
labels |
named |
save_as |
path for storing the dockerfile; default
to |
We add some labels to the docker images, following the Open Container Initiative (OCI). See the list of predefined annotation keys for more information.
Logical indicating whether a write occurred, invisibly.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.