powered by
Copy a file from a container to the host system
copy_file(container_id, path_container, path_local)
The name of the container, usually the repository name on dockerhub.
The path of the file inside the container
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()) }
Run the code above in your browser using DataLab