copy_file | R Documentation |
Copy a file from a container to the host system
copy_file(container_id, path_container, path_local)
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 |
if (test_docker_installation()) {
set_default_config(create_docker_config(), permanent = FALSE)
copy_file("alpine", "/bin/date", tempfile())
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.