copy_file: Copy a file from a container to the host system

View source: R/copy_file.R

copy_fileR Documentation

Copy a file from a container to the host system

Description

Copy a file from a container to the host system

Usage

copy_file(container_id, path_container, path_local)

Arguments

container_id

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

path_container

The path of the file inside the container

path_local

The path of the file on the host system

Examples

if (test_docker_installation()) {
  set_default_config(create_docker_config(), permanent = FALSE)
  copy_file("alpine", "/bin/date", tempfile())
}

dynverse/babelwhale documentation built on July 31, 2023, 2:11 a.m.