-
Notifications
You must be signed in to change notification settings - Fork 498
Open
Description
Problem
When using a debian:trixie
base image in a Dev Container, after running
remote-containers.rebuildContainer
, the configured non-root user and all extensions defined in
devcontainer.json
and features are not applied. Instead, the container falls back to the root
user
with no extensions installed.
Environment
- VS Code version: 1.103.2
- VS Code Dev Container version: 0.422.1
- Host OS: Windows 24H2 (build 26100.5074)
Reproduction Steps
- Clone the repo: repo link
- Open in VS Code and run command
remote-containers.reopenInContainer
. - Run command
remote-containers.rebuildContainer
. - Observe the applied user and extensions.
Expected Result
- The container uses the
vscode
user. - All extensions defined in
src/.devcontainer/devcontainer.json
and features are applied.
Actual Result
- The container uses the
root
user. - All extensions defined in
src/.devcontainer/devcontainer.json
and features are not applied.
Additional Context
- After pulling the image for the first time and opening it in the container, it works correctly.
- The issue occurs after running the
remote-containers.rebuildContainer
command. - The issue persists even after exiting vscode and restarting it, or disconnecting and reconnecting to the container.
- The issue does not occur on
debian:bookworm
based images. - Reproduction image build log: log link
Metadata
Metadata
Assignees
Labels
No labels