Skip to content

Add support for rootless Docker container#471

Merged
Flaminel merged 2 commits intomainfrom
add_docker_non_root
Feb 24, 2026
Merged

Add support for rootless Docker container#471
Flaminel merged 2 commits intomainfrom
add_docker_non_root

Conversation

@Flaminel
Copy link
Contributor

No description provided.

Copy link

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

This PR updates the Docker entrypoint to better support running the container in “rootless” mode (i.e., when the container process starts as a non-root user).

Changes:

  • Add an early-exit path that skips user/group creation and privilege dropping when id -u is not 0.
  • Adjust permissions logic to focus on ensuring /config is writable (and stop chowning /app).

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

@Flaminel Flaminel merged commit d542c71 into main Feb 24, 2026
6 checks passed
@Flaminel Flaminel deleted the add_docker_non_root branch February 24, 2026 17:03
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.

2 participants