SERVER-138211ClosedFixed

Reuse existing devcontainer users and groups

The configured Ubuntu 24 base image already contains an {{ubuntu}} user and group, so {{.devcontainer/Dockerfile}} fails when the host's {{USER}} is {{ubuntu}}. Reuse existing accounts and groups, preserving their IDs and home directories, and assign newly created users to their matching named group. Dev Containers continues to handle host UID/GID alignment on Linux. Add {{.devcontainer/user-setup-test.sh}} to exercise existing users, new users, and existing groups against the Dockerfile's exac

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
9.1.0-rc09.1.0-rc1025
Components
Server components related to this issue
devcontainer
Labels
Tags and classification

No labels assigned.