Skip to content
This repository was archived by the owner on Jun 3, 2025. It is now read-only.
This repository was archived by the owner on Jun 3, 2025. It is now read-only.

How to solve the disk space exceeds problem #3497

@Sodawyx

Description

@Sodawyx

I used Kaniko in cloud environment and the root execution environment / only supports 10GB.
The base image of dockerfile is almost 30GB. When image building, Kaniko will unpacking rootfs, and the disk size exceeds.
I mount a volume to /mnt/dir, how to unpacking rootfs to /mnt/dir, or any other solutions?
The sample docker file is as follow.

FROM qwen:latest
ADD ./test /

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions