linuxkit / linuxkit

A toolkit for building secure, portable and lean operating systems for containers
Apache License 2.0
8.25k stars 1.01k forks source link

Add init containers error is not descriptive #3759

Open nshyrei opened 2 years ago

nshyrei commented 2 years ago

Hello, I am using linuxkit through the nitro-cli tool in https://github.com/aws/aws-nitro-enclaves-cli. It uses linuxkit with the following parameters: `"build", "-name",

, "-format", "kernel+initrd", "-prefix", "rootfs/" ` The error is following: `"Add init containers:\nProcess init image: \nAdd files:\n rootfs/dev\n rootfs/run\n rootfs/sys\n rootfs/var\n rootfs/proc\n rootfs/tmp\n cmd\n env\nCreate outputs:\n"` This is reproducible when I try to create images close to 1GB in size or bigger on a machine with 8GB of RAM.
justincormack commented 2 years ago

Hi, the default size is 1GB, does it work if you use a larger size with linuxkit build -size ... ? The error is certainly not helpful.

swakv commented 5 months ago

I am facing the same issue, is there any fix for this?

deitch commented 5 months ago

I don't understand @swakv ; what is the issue you are seeing? The original does not describe any problem.