Skip to content

Conversation

jiechen0826
Copy link
Contributor

@jiechen0826 jiechen0826 commented Oct 9, 2025

This PR adds the support for tmpfs backed sandbox mount. The tmpfs mounts are mounted inside UVM under the directory at /run/gcs/c/<SANDBOX-ID>/sandboxTmpfsMounts.

Containers can utilize a tmpfs-backed sandbox mount using sandbox-tmp:// prefix as follows,

"mounts": [
      {
          "host_path": "sandbox-tmp://s1",
          "container_path": "/sndbox/m1"
      }
]

If checking from the container's perspective,

.\crictl.exe exec -i $CONTAINER cat /proc/self/mountinfo
129 122 0:41 /s1 /sndbox/m1 rw,relatime - tmpfs tmpfs rw

@jiechen0826 jiechen0826 requested a review from a team as a code owner October 9, 2025 23:16
@jiechen0826 jiechen0826 force-pushed the user/jiechen3/sandbox-mount-tmpfs branch from 85a8ae3 to 874cc78 Compare October 13, 2025 21:24
@jiechen0826 jiechen0826 force-pushed the user/jiechen3/sandbox-mount-tmpfs branch from 874cc78 to 0d1b8a1 Compare October 14, 2025 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants