跳到正文

正在自动登录…

← 返回项目列表

usbarmory/eggshell

运行Linux程序

一个实验性的裸机Go unikernel,实现Linux ABI以运行未修改的Linux可执行文件,适用于需要完整运行环境(如Go编译器)的场景。 面向需要在无操作系统环境下运行静态链接或musl动态链接的Linux程序的开发者。

AI 中文解读 · 根据仓库描述与 README 生成 · 2026/11/4 10:52:22 · 查看原文

普通Go研究项目
累计 Stars
59
当前热度
1 天内 · 小火
仓库创建时间
打开 GitHub ↗

选用指南

AI 根据 README 整理 · 2026/11/4 10:52:22

使用方式

通过make命令构建并运行,使用qemu模拟器执行。

查看 README 依据
[nix-build](https://nix.dev/manual/nix/2.18/command-ref/nix-build) for root filesystem creation, and `qemu` for microvm execution. ```sh go mod tidy make rootfs make kernel make qemu ``` All [TamaGo amd64 targets](https://github.com/usbarmory/tamago#supported-amd64-targets) can be supported with minimal integration. Boot arguments -------------- The kernel command line can be passed through the `APPEND` variable: ``` make qemu APPEND="ip=10.0.0.1/24 gw=10.0.0.2" ``` | option | description |
部署要求

需要TamaGo编译器,可通过Makefile自动下载或手动构建;构建rootfs需要nix-build,运行需要qemu。

查看 README 依据
The [TamaGo compiler](https://github.com/usbarmory/tamago-go) is automatically downloaded and compiled as a `go tool` by the `Makefile`. Alternatively the `TAMAGO` environment variable can be overridden to use the [latest binary release](https://github.com/usbarmory/tamago-go/releases/latest): ```sh wget https://github.com/usbarmory/tamago-go/archive/refs/tags/latest.zip unzip latest.zip cd tamago-go-latest/src && ./all.bash cd ../bin && export TAMAGO=`pwd`/go ``` Building and executing ====================== The example uses
[nix-build](https://nix.dev/manual/nix/2.18/command-ref/nix-build) for root filesystem creation, and `qemu` for microvm execution. ```sh go mod tidy make rootfs make kernel make qemu ``` All [TamaGo amd64 targets](https://github.com/usbarmory/tamago#supported-amd64-targets) can be supported with minimal integration. Boot arguments -------------- The kernel command line can be passed through the `APPEND` variable: ``` make qemu APPEND="ip=10.0.0.1/24 gw=10.0.0.2" ``` | option | description |
已知限制

项目处于早期实验阶段;仅支持单核、单用户、IPv4;不支持ptrace、SysV IPC、inotify等;文件系统在内存中,重启后修改丢失。

查看 README 依据
is unavoidable, such as running the Go compiler. > [!WARNING] > This project is at its early stages and therefore experimental. ``` $ make qemu eggshell microvm (2802 MHz) • tamago amd64 (go1.27.3) • 1264 MiB available virtio-net 52:50:9a:89:c2:39 10.0.0.1/24 gw:10.0.0.2 gvisor sshd: listening on port 22 ___ ___ _ _ _ | __|__ _ __ _/ __| |_ ___| | | | _|/ _` / _` \__ \ ' \/ -_) | | |___\__, \__, |___/_||_\___|_|_| |___/|___/ Linux ABI on bare-metal Go root@yolk:~# uname -a eggshell yolk tamago go1.27.3 x86_64 BusyBox/TamaGo root@yolk:~# ps x
Any C program that builds with musl should run. Dynamically linked executables work as well: the kernel maps the `PT_INTERP` program interpreter, the rootfs ships musl's `/lib/ld-musl-<arch>.so.1` (add any other shared library under `/lib` or `/usr/lib`). The userland is built using [nix-build](https://nix.dev/manual/nix/2.18/command-ref/nix-build), see [nix/README.md](https://github.com/usbarmory/eggshell/blob/main/nix/README.md) for instructions and options. Current limitations =================== * While TamaGo supports SMP operation, for now supervision of userspace code
remains a single-core only affair. * Only single user support, no isolation among users and any identity operation is a no-op. * IPv4 only, no raw sockets, no `SCM_RIGHTS`, no `AF_UNIX` datagrams. * `EPOLLET` is emulated as level triggered. * Not implemented: `ptrace`, SysV IPC, `inotify`, `timerfd`, `signalfd`, POSIX timers (`timer_create`), mounts, namespaces. * The filesystem is in-memory and therefore all modifications are volatile across reboots. License ======= eggshell | https://github.com/usbarmory/eggshell Copyright (c) The eggshell Authors. All Rights Reserved.

README

正在加载 README…

收录信息

仓库创建时间
2026/11/3 21:17:38
首次达标收录
2026/11/4 10:46:23
统计更新时间
2026/11/4 14:46:41

按创建时长与累计 Stars 判断等级。首次达标收录后,即使未达当前门槛仍保留;累计 Stars 和仓库状态会定期更新。确认只有 README 及辅助文件的仓库会停止公开。

模型评估

普通加权总分 3.4 / 5

新颖度
3.9
实用价值
2.4
成熟度
4.0
实质含量
3.8

由 Jev 模型根据仓库描述与 README 评估,2026/11/4 10:46:23 生成。评分仅供参考,不是代码、安全或许可证审查;热度等级另按创建时长与累计 Stars 计算。

仓库信息

最近推送
2026/11/4 06:34:56
许可证标识
NOASSERTION
Fork 数
3
当前状态
未归档

收录记录

按创建时长与累计 Stars 首次收录:小火
首次发现项目