Skip to content

Keep groups with podman#51

Closed
gkuznik wants to merge 1 commit intomainfrom
gkuznik-patch-1
Closed

Keep groups with podman#51
gkuznik wants to merge 1 commit intomainfrom
gkuznik-patch-1

Conversation

@gkuznik
Copy link
Copy Markdown
Member

@gkuznik gkuznik commented Apr 6, 2026

@thomasw04
Copy link
Copy Markdown
Member

This breaks with docker.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the devcontainer configuration to preserve host group memberships when running the container with podman/docker, which is typically needed for correct device/file permission behavior inside the devcontainer.

Changes:

  • Add a --group-add keep-groups entry to .devcontainer/devcontainer.json runArgs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

}
},
"runArgs": [
"--group-add keep-groups",
Copy link

Copilot AI Apr 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

runArgs entries are passed as individual CLI arguments; including a space inside the string will be sent as a single token (--group-add keep-groups) and may be rejected by podman/docker as an unknown flag. Split this into two array elements (flag and value) or use an equals form (--group-add=keep-groups) so the runtime parses it correctly.

Suggested change
"--group-add keep-groups",
"--group-add=keep-groups",

Copilot uses AI. Check for mistakes.
}
},
"runArgs": [
"--group-add keep-groups",
Copy link

Copilot AI Apr 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new runArgs line has inconsistent indentation (leading spaces before tabs) compared to the rest of this file, which primarily uses tabs. Please align indentation to match the surrounding formatting to avoid noisy diffs later.

Suggested change
"--group-add keep-groups",
"--group-add keep-groups",

Copilot uses AI. Check for mistakes.
@gkuznik gkuznik closed this Apr 6, 2026
@gkuznik gkuznik deleted the gkuznik-patch-1 branch April 8, 2026 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants