From c77e173767480d2102d9c8d864e6462d1dcc194f Mon Sep 17 00:00:00 2001 From: Vincent Lannurien Date: Fri, 9 Oct 2026 16:39:58 +0200 Subject: [PATCH] =?UTF-8?q?v4:=20the=20devcontainer=20builds=20and=20start?= =?UTF-8?q?s=20again=20=E2=80=94=20the=20docker-outside-of-docker=20featur?= =?UTF-8?q?e=20failed=20to=20install,=20since=20the=20base=20image=20is=20?= =?UTF-8?q?now=20Debian=20trixie,=20where=20its=20default=20moby=20option?= =?UTF-8?q?=20isn't=20supported;=20it=20now=20installs=20Docker's=20own=20?= =?UTF-8?q?packages=20("moby":=20false).=20Every=20service=20of=20the=20co?= =?UTF-8?q?mpose=20project=20was=20also=20built=20under=20one=20image=20na?= =?UTF-8?q?me,=20gerbeur-dev,=20the=20workspace=20with=20the=20features=20?= =?UTF-8?q?and=20the=20others=20without,=20so=20whichever=20finished=20las?= =?UTF-8?q?t=20took=20the=20name=20and=20the=20workspace=20could=20lose=20?= =?UTF-8?q?its=20docker=20CLI;=20each=20service=20now=20gets=20its=20own?= =?UTF-8?q?=20image,=20built=20from=20the=20same=20cache.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Checked with the devcontainer CLI's up: the image builds, install exits 0, gerbeur and musique answer on :3000, :3001, :8000 and :8001 (openid-configuration included), and docker ps works as node in the workspace. Co-Authored-By: Claude Opus 5.5 --- .devcontainer/compose.yaml | 1 - .devcontainer/devcontainer.json | 7 +++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.devcontainer/compose.yaml b/.devcontainer/compose.yaml index e10d39d3..c7c483cf 100644 --- a/.devcontainer/compose.yaml +++ b/.devcontainer/compose.yaml @@ -18,7 +18,6 @@ x-workspace: &workspace build: context: . dockerfile: Dockerfile - image: gerbeur-dev network_mode: host user: node working_dir: /workspaces/gerbeur diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index aeddf786..dcce8183 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -20,7 +20,10 @@ "features": { "ghcr.io/warrenbuckley/codespace-features/sqlite:1": {}, // The docker CLI, on the host's daemon, for the instances' logs and - // restarts (compose.yaml). - "ghcr.io/devcontainers/features/docker-outside-of-docker:1": {} + // restarts (compose.yaml). Docker's own packages: the base image is Debian + // trixie, which has no moby-cli. + "ghcr.io/devcontainers/features/docker-outside-of-docker:1": { + "moby": false + } } }