Repository navigation
wazuh manager can be run as non-root? #740
|
In this repo for build-docker-images, both Indexer and Dashboard containers are set to run as non-root user, while the manager is set to run as root. Wanted to know if manager as well can be run as non-root user at all. In case not feasible, wanted to understand the dependencies here. |
Answered by
jctello
Nov 3, 2022
Replies: 1 comment 2 replies
|
Hi @shashipanduga, By adding a non-root user to the |
2 replies
Answer selected by
s-ocando
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @shashipanduga,
Yes, you can run all containers as a non-root user.
As you mention, this is done with the Dockerfile of the Indexer and Dashboards but not for the Wazuh manager.
By adding a non-root user to the
dockergroup as mentioned on the note at the end of the Docker engine installation instructions you may run all containers as a less privileged user.