You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
to-disk: Use symlink approach for container storage
When installing images larger than ~3GB, the installation would fail
with "no space left on device" during container layer import. This
occurred because the tmpfs mounts for /var/lib/containers and /var/tmp
defaulted to 50% of RAM, which was insufficient for storing temporary
layer data during import.
Fix by mounting /var/tmp as a large tmpfs (sized to match the swap
partition, which is already calculated based on image size) and
symlinking /var/lib/containers to /var/tmp/containers. This
consolidates temporary storage in one location and avoids duplicating
size calculation logic.
Fixes installation failures for images >3GB
Assisted-by: Claude Code
Signed-off-by: ckyrouac <[email protected]>
Signed-off-by: Colin Walters <[email protected]>
0 commit comments