mirror of
https://github.com/devvmhq/devvm.git
synced 2026-12-01 06:23:17 -10:00
Docker is a layer devvm ships, docker, chosen per VM like any layer (devvm node+docker, devvm build docker) and added to an existing VM in place. base installs no Docker. - Built-in layers: image.Builtins (docker) and IsBuiltin; a name is looked up in devvm's assets/layers first, so a user's docker.sh is never read; devvm layer new docker is refused (layer_name_reserved); an image's key hashes the shipped script (own file, must exist); Layers, Environments, completion and unknown_layer/no_image_for list it; Env.LayerData reads either kind's script. - assets/layers/docker.sh: Docker's apt repository (pinned key, pinned package versions; Alpine's own packages, rc-update, the docker group), the daemon started now too (OpenRC, or with no init system as services.sh does) for a VM it's added to in place. scripts/bump.sh's docker pins read it. - assets/layers/docker.policy: Docker's packages and the registries, applied to VMs with the layer (netpolicy.PolicyFiles); base.policy keeps OS packages (Alpine's too), mise and GitHub. - Adding layers in place sets the new image in the VM's state before their scripts run, so a network-policy VM's proxy allows their hosts; a failing script sets it back. - smolvm's sshd.sh keeps the snapshot's package lists, for layers' apt-get install. - Docs: images (base, built-in layers, keys), customizing, commands, network, smolvm, from, install, maintaining, design, coding-agents, contributing; the CLI reference; AGENTS.md's assets/ line. - Tests: key, layers, build, policy files, in-place add (devvm's script, image during the run, set back on failure), layer new docker; e2e: a base VM has no Docker (Lima, smolvm), the docker layer on Debian 12 and Alpine (from), and smolvm's network-policy VM is a docker VM whose Docker pulls through the proxy. Co-Authored-By: Claude Opus 5.5 <[email protected]>
9 lines
249 B
Plaintext
9 lines
249 B
Plaintext
# docker: Docker's packages, and the container registries Docker Hub and GitHub's
|
|
download.docker.com
|
|
registry-1.docker.io
|
|
auth.docker.io
|
|
production.cloudflare.docker.com
|
|
production.cloudfront.docker.com
|
|
ghcr.io
|
|
pkg-containers.githubusercontent.com
|