powered by
Read a file from a container
read_file(container_id, path_container)
The name of the container, usually the repository name on dockerhub.
The path of the file inside the container
if (test_docker_installation()) { set_default_config(create_docker_config(), permanent = FALSE) read_file("alpine", "/etc/hosts") }
Run the code above in your browser using DataLab