Found problem with dockers image of beats from version 7.17 and higher.
Early images was near 600 Mb size
After 7.17 image baset on lightweight image near 300 Mb
But in new images:
no tzdate, so cant use -e TZ=Africa/Lusaka always date show in"Europe" TZ
no any text editor, so cant change any file inside docker
Now can't use new docker images becouse all logs timestemp different and hard to debuging
I don't know that the commands you are missing were intentionally removed, they are just not provided by the standard Ubuntu 20 base image we use. To work around this you would have to create a new image with the packages you need installed using the filebeat container as a base image.
Changes in all images, and i don't know how corectly install additional packages in each container on each server in different time zones without corrupt main application. And that changes need to make after each version upgrade what make upgrades hard.
Perhaps there are containers based on more complete ubuntu images, where there is pre-installed: tzdate and any text editor?
I need only run this dockerfile, or need add at end of dockerfile command to run application?
CMD /usr/share/filebeat/filebaet
or
RUN /usr/share/filebeat/filebaet
May be you know is not any planes to add that packages to core image for future releases? Because it's not problem to make changes in one or two hosts, but it's to hard make changes in docker images on more than twenty servers.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.