Closed
Description
The elasticsearch
package that is being installed for this image creates an "elasticsearch
" user that is used by the init.d
script:
$ docker run --rm elasticsearch:1.4 id elasticsearch
uid=105(elasticsearch) gid=108(elasticsearch) groups=108(elasticsearch)
This user is not being utilitized in the /usr/share/elasticsearch/bin/elasticsearch
script, which means this image is currently running the ES service as root
.
The image should be updated so that the service does not run as root
. Since ES doesn't appear to have its own way to drop privileges, it seems like that way to go here is with gosu
and a custom ENTRYPOINT
.
Metadata
Metadata
Assignees
Labels
No labels