To date we have been running logstash 7.16.2 as a non-root user in docker using a docker-compose configuration similar to below:
version: 3.3
services:
logstash:
image: logstash:7.16.2
user: 10002:1001
volumes:
config
data
logs
This worked fine for the past year but in attempting to upgrade to 8.8.1 - we are getting an error
(LoadError) failure to load file: java.io.FileNotFoundException: /usr/share/logstash/logstash-core/lib/logstash/build.rb
Is there any documentation or sample docker-compose for running the elastic published docker images as non-root user outside of creating the image from scratch as it is enterprise requirement.