-
Notifications
You must be signed in to change notification settings - Fork 88
Description
准备 bug 报告信息
cat > bug-report.txt << EOF
Title: nitro-cli 1.4.2 incompatible with linuxkit v1.5.2 - "Unknown format type kernel+initrd-nogz"
Environment:
- Nitro CLI Version: 1.4.2
- Linuxkit Version: v1.5.2
- OS: $(cat /etc/os-release | grep PRETTY_NAME)
- Kernel: $(uname -r)
Error:
Linuxkit reported an error while creating the bootstrap ramfs:
"Error: error parsing formats: Unknown format type kernel+initrd-nogz"
Steps to reproduce:
- Install nitro-cli 1.4.2
- Build any Docker image
- Run: nitro-cli build-enclave --docker-uri
--output-file test.eif
- Error occurs
Expected: Build should complete successfully
Actual: Build fails with "Unknown format type kernel+initrd-nogz"
EOF
Building Nitro Enclave...
Start building the Enclave Image...
Using the locally available Docker image...
Linuxkit reported an error while creating the bootstrap ramfs: "Error: Error parsing formats: Unknown format type kernel+initrd-nogz\n2025/11/10 16:37:13 error during command execution: Error parsing formats: Unknown format type kernel+initrd-nogz\n"
[ E48 ] EIF building error. Such error appears when trying to build an EIF file. In this case, the error backtrace provides detailed information on the failure reason.
For more details, please visit https://docs.aws.amazon.com/enclaves/latest/user/cli-errors.html#E48
If you open a support ticket, please provide the error log found at "/var/log/nitro_enclaves/err2025-11-10T08:37:13.494501125+00:00.log"
cat /var/log/nitro_enclaves/err2025-11-10T08:37:13.494501125+00:00.log
Action: Build Enclave
Subactions:
Failed to build enclave
Failed to build EIF from docker
Failed to create EIF image: LinuxkitExecError
Root error file: src/lib.rs
Root error line: 171