read_file {babelwhale}R Documentation

Read a file from a container

Description

Read a file from a container

Usage

read_file(container_id, path_container)

Arguments

container_id

The name of the container, usually the repository name on dockerhub.

path_container

The path of the file inside the container

Examples

if (test_docker_installation()) {
  set_default_config(create_docker_config(), permanent = FALSE)
  read_file("alpine", "/etc/hosts")
}


[Package babelwhale version 1.2.0 Index]