Repository navigation
devcontainer-kit v1.3.0
Interface stays 2. Minor: the new opt-in [compose] container_only key renders
container-only named volumes for workspace subpaths; the default render is unchanged.
Added
[compose] container_only(opt-in): workspace subpaths mounted as project-scoped
named volumes (co-<path-slug>, e.g.co-app-node_modulesover/app/node_modules),
read-write, on the main service — so what the container builds there never reaches the
host's checkout. The case it exists for: the workspace is a bind mount and an
in-containernpm/pnpminstall on a macOS or Windows host purgesnode_modules
for its own platform, destroying the host's install. The entrypoint gives each mount
point to the configured user at every container start (a no-op once it is the user's,
DCK_CONTAINER_ONLY); a path the user block also mounts, and a derived volume name
already used bycompose.state_volumeor[compose] volumes, are refused (one mount
per path).
(dck-config-v2.jsongained the key.)
Install
git clone --branch v1.3.0 https://github.com/DailybotHQ/devcontainer-kit
./devcontainer-kit/install.shVerify a clone with shasum -a 256 -c SHA256SUMS. Images: ghcr.io/dailybothq/devcontainer-kit-base:{python-3.13,node-24,debian}-v1.3.0 (digests in the images workflow run).