Docker + AEM + AEM logs: how to setup my local AEM so I can see logs in crx-quickstart/logs?
So I have setup my Dockerfile to use this entrypoint => ENTRYPOINT ["java", "-jar", "/opt/aem/cq-author-p4502.jar", "-r", "author", "-p", "4502", "-verbose"]
#docker exec -it CONTAINER-ID bash
#java -jar /opt/aem/cq-author-p4502.jar (once inside the container)and my crx-quickstart/logs will have the proper logs available to me.
I would like to setup my docker/AEM container in such a way that
- I get my logs in crx-quickstart/logs because I can use Linux tools to parse the logs.
- I would prefer that AEM auto-starts when the container is started. I do not want to run the java command manually if I can avoid it.
In both cases, I do not have "VOLUME" setting in my Dockerfile.
