Skip to content

Add a "runsc read" command to read files from a sandbox.#13228

Open
copybara-service[bot] wants to merge 1 commit into
masterfrom
test/cl919113122
Open

Add a "runsc read" command to read files from a sandbox.#13228
copybara-service[bot] wants to merge 1 commit into
masterfrom
test/cl919113122

Conversation

@copybara-service
Copy link
Copy Markdown

Add a "runsc read" command to read files from a sandbox.

This change introduces a new "runsc read" command that allows users to read the
contents of a file within a running sandbox. The command takes a container ID,
a file path, and an optional size limit. The file content is streamed from the
sentry to runsc and printed to standard output. A new Fs.Read RPC is added to
the sentry control server to handle the file reading.

This change introduces a new "runsc read" command that allows users to read the
contents of a file within a running sandbox. The command takes a container ID,
a file path, and an optional size limit. The file content is streamed from the
sentry to runsc and printed to standard output. A new Fs.Read RPC is added to
the sentry control server to handle the file reading.

PiperOrigin-RevId: 919113122
@copybara-service copybara-service Bot added the exported Issue was exported automatically label May 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

exported Issue was exported automatically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant