Guides
Problem-oriented how-tos for everyday use and operating grain in production-like setups.
How-to guides assume you already installed grain and created at least one sandbox. Each page solves a specific job.
If you are brand new, start with the quick start.
Popular workloads
grain act -- -j test
grain new --preset k3s -n lab -p --wait userdata
Everyday use
| Guide |
When you need it |
| Images & golden boots |
Pull, import, bake, choose ubuntu/alpine/golden |
| Guest agent |
Exec, shell, cp, fs without living in SSH |
| Networking & ports |
Publish ports, live forwards, SLIRP limits |
| Overlay network |
Guest↔guest L2 on one host (network: overlay) |
| Guest architecture |
arm64 / amd64 guests (TCG cross-arch) |
| Virtio GPU |
virtio-gpu-pci for guests |
| Menu bar tray |
grain tray status helper |
| Mounts & shares |
Share host directories into the guest |
| Profiles & presets |
Named defaults and docker / k3s / act presets |
| Pause, suspend, restore |
Free CPU or RAM while keeping work |
Security & ops
More recipes