apache / apache/fluss

Fluss docker run with Root User

Open
#1,854 8 comments 0 reactions 1 assignee Claimed by @qiuyunbuyu View on GitHub
Dominant language
Java
Stars
2.1k
Forks
625
Avg merge
3d 14h
Merged PRs (30d)
97

Description

### Search before asking

- [x] I searched in the [issues](https://github.com/apache/fluss/issues) and found nothing similar.

### Fluss version

0.7.0 (latest release)

### Please describe the bug 🐞

Currently, though we set the chown right of /opt/fluss as user root.
```yaml
COPY --chown=fluss:fluss build-target/ /opt/fluss/
RUN ["chown", "-R", "fluss:fluss", "."]
COPY docker-entrypoint.sh /
```

However, coordinator and tablet server still run with root user. Besides, the chown right of /tmp/fluss is also root. (It's is easy to see when we enter the docker)

Image

### Solution

_No response_

### Are you willing to submit a PR?

- [x] I'm willing to submit a PR!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.