Description Usage Arguments Value Examples
Checks if docker is installed, is running and has required images downloaded and if do creates container
1 2 3 4 5 | set_test_env(
type = "host",
docker_image = "tengfei/testenv",
data_dir = getwd()
)
|
type |
"dind" or "host" |
docker_image |
required docker image with pre-installed bunny, default: tengfei/testenv |
data_dir |
directory with data to mount (also will be execution directory) |
docker stdout
1 2 3 | ## Not run:
set_test_env("dind", "tengfei/testenv", "/Users/<user>/tools")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.