Phases: Git for container filesystems, or, what I built after leaving CNCF buildpacks.io
Phases is a new image-build and persistence feature for Teleport's Beams agentic runtime that gives container filesystems a Git-like model: snapshot phases persist forkable /home state, rebuild phases rerun commands on a timer (every 24 hours by default), and copy phases overlay fixed files, composable in any order. Upstream changes trigger downstream rebuilds, while snapshot and copy layers are restitched via registry metadata rebasing, an idea carried over from Cloud Native Buildpacks. Under the hood, a privileged builder container receives the user container's mount namespace over SCM_RIGHTS, mounts OverlayFS and pivot_roots into it, and freezes the cgroup to capture snapshots. Layers and manifests are manipulated directly on the registry with go-containerregistry.
Related posts
- Speeding up Deployments with Lazy Image Streaming
Replit mediumAdeptReplit cut cold-boot times for large Deployment container images from 3-4 minutes to under 30 seconds by lazily streaming images through a FUSE filesystem instead of pulling and unpacking every layer up front. They compared the eStargz snapshotter, which requires converting images to a per-file-compressed seekable format with worse compression ratios, against AWS's SOCI snapshotter. SOCI stores separate zTOC metadata with gzip decompressor checkpoints, so existing OCI images can be range-fetched without modification, and Replit chose it. The main tradeoff is slower runtime filesystem access because every FUSE operation crosses between user space and kernel space several times.
- Container Use for Locally Sandboxed, Background Agents in Zed
Zed mediumAdeptContainer Use, an open source MCP tool, gives coding agents isolated sandboxes by pairing Dagger containers with Git worktrees, so background agents can work in parallel on the same repo without touching local files. Each agent task gets a randomly named environment that can be inspected with `container-use list`, `watch`, `log`, `diff` and `terminal`, with service tunnels to localhost. The recommended Zed setup uses two custom Agent Panel profiles: a `foreground` profile with all built-in Zed tools enabled and a `container-use` profile with only Container Use tools enabled, so foreground and background agents don't collide.
- Directory Snapshots: Resumable project state for Sandboxes
Modal mediumAdept
Modal's Directory Snapshots, now in public beta, capture a single directory from a running Sandbox and mount it into another Sandbox independently of the base image, instead of snapshotting the whole filesystem as one unit. This lets project state evolve separately from system dependencies, so base images can be patched without rebuilding project snapshots, and generic warm-pool Sandboxes can receive project code at claim time. Snapshots mount instantly and their contents are prioritized by Modal's lazy-loading filesystem. They persist for 30 days after last use and sit alongside full filesystem snapshots and memory snapshots.
- AgentFS with copy-on-write overlay filesystem
Turso mediumAdeptAgentFS 0.4 adds `agentfs run`, which launches a coding agent in a sandbox where the working directory is a copy-on-write overlay. The host filesystem is the read-only base layer and a SQLite database is the writable delta layer, so agent edits and deletions (tracked through a whiteout table) never touch the host checkout, and other shells can join the same session by ID. On Linux the overlay is a FUSE filesystem combined with user and mount namespaces that remount everything read-only except allowed paths. On macOS it is served by a localhost NFS server, avoiding the need for macFUSE, and confined with a generated sandbox-exec profile.
- Docker Bake is Now Generally Available in Docker Desktop 4.38!
Docker mediumAdeptDocker Bake, a declarative build orchestration tool for BuildKit, is now generally available in Docker Desktop 4.38. It replaces chains of `docker build` commands with an HCL (or Compose-compatible) file defining targets, groups, variables and matrix builds, and parallelizes and deduplicates work. The GA release adds automatic deduplication of shared build-context transfers, entitlements (`--allow` for host networking, insecure mode, filesystem paths and SSH), composable structured attributes for attest/cache/output/secret/ssh that can be inherited and overridden, Terraform-style variable validation blocks, and a `--list` option for querying targets and variables.