Checks if docker is installed, is running and has required images downloaded and if do creates container
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
if (FALSE) { set_test_env("dind", "tengfei/testenv", "/Users/<user>/tools")}