Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Officially support running Docker container as non-root #775

Open
rfratto opened this issue May 6, 2024 · 0 comments
Open

Officially support running Docker container as non-root #775

rfratto opened this issue May 6, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@rfratto
Copy link
Member

rfratto commented May 6, 2024

Request

While the Dockerfile has steps to add a non-root user, support for non-root is undocumented and effectively experimental; we currently don't have experience with it or fully understand the implications of running as non-root.

"Official" support means two things:

  • Internal knowledge: we need to dogfood non-root container instances more to get more experience with it.
  • Documentation: We need to document how to enable non-root, and document which components require root-level access (such as prometheus.exporter.unix, for one.)
  • Fix any issues where components that shouldn't require root access currently do (for example, I've heard there are issues with running discovery.kubernetes as non-root, which is unexpected).

Related: #774

Use case

Run Alloy in environments where containers may not be run as root user.

@rfratto rfratto added the enhancement New feature or request label May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant