Guides

Your first egg

Run a machine, look at it, stop it and remove it — and learn the one distinction that makes the rest of Egg make sense: an egg is the template, a run is the live machine booted from it.

The app's desk starts with three computers — Ubuntu Desktop, Ubuntu Server and Alpine (the smallest, boots to a shell in seconds). Double-click one: it installs like an app, then runs in its own window.

The same from the CLI:

egg pull egg/ubuntu-26-desktop
egg run ubuntu-26-desktop

A window opens with a booted Linux machine. That's a full VM — own kernel, own network, own GPU context. egg/ubuntu-26 is the server, egg/alpine the small one.

egg/ubuntu-26-desktop is a hub reference — always publisher/slug. Once pulled, the egg lives on your machine as ubuntu-26-desktop, and that bare name is how you address it from here on. A bare name only ever means a local egg: type egg run ubuntu-26-desktop before you have one and the CLI asks you to say egg/ubuntu-26-desktop rather than guessing.

Eggs vs runs

Egg = the template — disk image(s), config, an optional warm snapshot, signed as one bundle. Run = a live machine booted from it. One egg boots one live machine at a time (its disk is in use while it runs). Want a second machine? Clone the egg and run the copy.

egg ps                                  # list running eggs
egg inspect ubuntu-26-desktop           # status, hardware, addresses
egg clone ubuntu-26-desktop dev-b       # copy the EGG (copy-on-write where the FS supports it)
egg run dev-b                           # two machines, two kernels
egg stop dev-b                          # a RUN is stopped — the egg stays
egg delete dev-b                        # an EGG goes to the recycle bin, restorable

Everything an egg owns lives in one bundle directory, eggs/<name>.egg/ — disks, snapshots, egg.toml, card art, the control socket. Copy the directory, you've copied the machine.

In the app, right-click an icon → Remove does the same as egg delete; the Trash on the desk restores it.

Isolation is hardware, not namespaces

Every egg runs under the platform hypervisor with its own kernel. The host kernel is not shared, not namespaced, not seccomp-filtered — it's simply not there. What happens in the egg stays in the egg; when you delete it, it's gone.

Next: The desktop app