Description Usage Arguments Value
View source: R/utility-functions.R
The method is implemented based on stevedore and includes some logging and defaults.
If a Dockerfile
object is given, it is saved as a Dockerfile to a temporary directory.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | docker_build(x, tag, ...)
## S3 method for class 'character'
docker_build(
x,
tag = strsplit(tempfile(pattern = "containerit_", tmpdir = ""), "/")[[1]][2],
the_dockerfile = "Dockerfile",
...
)
## S3 method for class 'Dockerfile'
docker_build(
x,
tag = strsplit(tempfile(pattern = "containerit_test_", tmpdir = ""), "/")[[1]][2],
use_workdir = FALSE,
clean_up = TRUE,
...
)
|
x |
the path to a directory with a valid |
tag |
Name of the new image to be created |
... |
Other arguments, passed to |
the_dockerfile |
Name of the |
use_workdir |
if a |
clean_up |
if |
The id of the image
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.