I think it would probably make sense for us to add an apm-server sub command (apm-server test server or something like that...) for performing a healthcheck, and defining that in the Docker image.
Any updates on this? There isn’t even a package manager in the image, so neither apt/microdnf/apk works to install curl from a derived image.
(Note: HEALTHCHECK --start-period=30s --interval=30s CMD bash -c ':> /dev/tcp/127.0.0.1/8200' || exit 1 seems to work but it’s probably not ideal to test the actual health.)
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.