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

Missing root user in Zeebe container #314

Closed
michals96 opened this issue Sep 26, 2023 · 1 comment
Closed

Missing root user in Zeebe container #314

michals96 opened this issue Sep 26, 2023 · 1 comment

Comments

@michals96
Copy link

Hey guys, just a shower thought. Recently I've been trying to setup some custom security stuff in Zeebe that required me to do some root actions. It seems like the default Zeebe container that we get as part of the docker compose does not have a root user (or sudo for that matter) configured. It might be pretty useful. Thanks.

@jessesimpson36
Copy link
Contributor

Zeebe being ran as a non-root user is a security feature. to override it, you should be able to set user: root in docker-compose.yaml and it will run as root instead.

heres some evidence of it working:

> docker container ls | grep zeebe
2c12ab69f25f   camunda/zeebe:8.3.1                                              "tini -- /usr/local/…"   About a minute ago   Up 2 seconds (health: starting)   0.0.0.0:9600->9600/tcp, :::9600->9600/tcp, 0.0.0.0:26500->26500/tcp, :::26500->26500/tcp, 26501-26502/tcp   zeebe


> docker exec -it 2c12ab69f25f whoami
root
> 

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

No branches or pull requests

2 participants