read_file: Read a file from a container

View source: R/read_file.R

read_fileR 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")
}


babelwhale documentation built on July 26, 2023, 5:24 p.m.