// SPDX-License-Identifier: MIT // Copyright (C) 2026 Pooya Parsa // Docker: runs the hello-world image. Debian only: the image's docker shim // (/usr/local/bin/docker, .agents/kernel/guest.md, Docker) installs // docker.io, docker-cli and crun on its first call (about 45 MB, through // sudo), writes a daemon.json that fits the kernel and starts dockerd, so // this demo only runs docker. The window stays open for more docker commands. import type { TerminalApp } from "../types.ts"; export default { id: "docker", title: "Docker", desc: "Docker's hello-world container, with Docker installed and started on first use (Debian)", // The Docker logo, from Simple Icons (CC0 1.0), slug docker. icon: { svg: '' }, colors: ["#1d63ed", "#0b2a6b"], needs: { net: true }, // The shim is in the Debian image; nothing to install first. packages: { debian: [] }, commands: [ "echo 'The first run installs Docker (about 45 MB) and starts it. Then try: docker run --rm -it alpine'", "docker run --rm hello-world", ], } satisfies TerminalApp;