feat(devops): OS-aware container-engine bootstrap (no Docker Desktop)#8
Merged
Conversation
These crates use only the plain `docker` CLI, so any Docker-API-compatible engine runs them — Docker Desktop is not required. Add a one-command, idempotent, OS-aware bootstrap plus a container-build skill and a README "Container engine" section so a fresh machine can reach `docker info` green before the Quick start. - scripts/devops/bootstrap-container-engine.sh — detects OS; macOS/Linux -> Colima, Windows -> Podman; installs + starts the engine; strips Docker Desktop's credsStore (which breaks headless pulls); verifies docker info + buildx + compose. Idempotent; ShellCheck-clean; passes guard.sh. - .claude/skills/container-build/SKILL.md — engine setup + build/smoke a crate + headless gotchas (credsStore, linux/amd64 on Apple Silicon, autostart). - README.md — "Container engine (no Docker Desktop needed)" section. Validated end-to-end on Colima (macOS, Apple Silicon): idempotent re-run, docker info green, hello-world container runs. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
These crates use only the plain
dockerCLI, so any Docker-API-compatible engine runs them — Docker Desktop is not required. This adds a one-command, idempotent, OS-aware bootstrap so a fresh machine reachesdocker infogreen before the Quick start, plus acontainer-buildskill and a README section.Why
The Quick start assumes a working
dockerbut never says which engine. The biggest friction for self-hosting these crates is engine setup — and Docker Desktop is licensed/fragile. This closes that gap with a free, headless baseline (Colima on macOS/Linux, Podman on Windows).Changes
scripts/devops/bootstrap-container-engine.sh— detects OS; macOS/Linux → Colima, Windows → Podman; installs + starts the engine; removes Docker Desktop'scredsStore(the leftoverdesktophelper breaks headless image pulls); verifiesdocker info+buildx+compose. Idempotent; starts Colima throughbrew servicesso the same step enrols autostart, with a documented fallback for an already-running manual Colima..claude/skills/container-build/SKILL.md— engine setup, build/smoke a crate, and headless gotchas (credsStore tell,linux/amd64under QEMU on Apple Silicon, autostart/launchd).README.md— "Container engine (no Docker Desktop needed)" section ahead of Quick start.Validation
guard.shpasses (no binaries, no oversized files).docker infogreen (29.5.2),hello-worldcontainer runs, buildx + compose detected.🤖 Generated with Claude Code