copy_file {babelwhale} | R 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())
}
[Package babelwhale version 1.2.0 Index]