Skip to content

Inconsistent usernames in base vs universal containers #1830

@raymond-chetty

Description

@raymond-chetty

It looks like the common-utils sets the username differently in the universal image than it does in the base image (at least for Ubuntu. vscode vs codespace. I think this complicates certain things like building new codespace configurations on top of these existing ones, maybe it's intentional, but 🤷‍♂️. Can we pick one and be good at it? 🙂🍻

base-ubuntu

"features": {
"ghcr.io/devcontainers/features/common-utils:2": {
"installZsh": "true",
"username": "vscode",
"userUid": "1000",
"userGid": "1000",
"upgradePackages": "true"
},

universal

"features": {
"ghcr.io/devcontainers/features/common-utils:2": {
"username": "codespace",
"userUid": "1000",
"userGid": "1000"
},

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions