Repository navigation
v2026.2: Docker-from-Docker, Image Diet & Supply Chain
What's Changed
Docker-from-Docker via Socket Bind Mount
The container no longer runs its own Docker daemon. Instead, it uses a simple host socket bind mount for Docker access. The Docker CLI, Buildx, and Compose are pre-installed in the image via extrepo. A baked-in docker-init.sh script (run via postStartCommand) handles runtime fixups:
- Aligns the container's
dockergroup GID with the host socket's GID (fixes permission denied errors) - Auto-detects the daemon's API version via
curlagainst the Docker socket and exportsDOCKER_API_VERSION(fixes client/server version mismatch on Codespaces where the host daemon is older than the installed CLI)
This approach:
- Removes the need for
--privilegedmode - Works with GitHub Codespaces out of the box
- Starts faster (no dockerd boot wait)
- Is more secure (no kernel-level access)
- Avoids APT source conflicts (no extra devcontainer Feature adding duplicate repos)
- Keeps
devcontainer.jsonsimple — just mount the socket and calldocker-init.sh
OCI Annotations & GitHub Attestations
- Full OCI image annotations on multi-arch image index and per-platform manifests
- GHCR package page displays description, license, source URL, and other metadata
actions/attest-build-provenancepopulates the GitHub Attestations tab- Docker BuildKit attestations (provenance + SBOM) continue to be stored in the registry
Image Size Reduction (~1-1.7 GB)
- GCP CLI and Azure CLI removed from the default image. Install on demand:
# GCP CLI (repo already enabled via extrepo) sudo apt-get update && sudo apt-get install -y google-cloud-cli # Azure CLI (repo not available for Trixie, use pipx) pipx install azure-cli
- Docker daemon (
docker-ce,containerd.io) only installed on bare metal (systemd detected). Container image ships CLI-only.
Tooling Updates
- AI tools: Added goose, opencode, litellm (with boto3 for AWS Bedrock)
- Simplified: mise and ddev now installed as APT packages via extrepo
- Added: pyproject.toml for uv-based linting and TOML validation
- Activated: zoxide shell integration
CI & Build Fixes
- Auto-detect GITHUB_TOKEN from
gh auth token - Fixed Docker socket permissions via
--group-addin CI and justfile - Fixed
DATEbuild arg,DEBIAN_FRONTENDleak, PR push guard - Bumped
codeql-actionfrom v3 to v4