read_file: Read a file from a container

Description Usage Arguments Examples

View source: R/read_file.R

Description

Read a file from a container

Usage

1
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

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

dynverse/babelwhale documentation built on Oct. 4, 2019, 12:02 p.m.