Skip to content

Transfer Files

Use runta cp or SDK file helpers to copy files between your local machine and a runtime.

Start a runtime:

Terminal window
runta run --name <runtime_display_name> --cpus 1 --memory 512

Copy a file from the runtime to your local machine:

Terminal window
runta cp <runtime_display_name>:/.nvm/README.md ./nvm-README.md
cat nvm-README.md

Copy a local file into the runtime:

Terminal window
echo "hello world" > hello.txt
runta cp hello.txt <runtime_display_name>:/
runta exec <runtime_display_name> cat /hello.txt