How to get tomcat log from docker container running in atomic host

I am working on Log monitoring, I have requirement of getting tomcat application server logs(example: catalina.log) running in the docker container(container is running in atomic host) and passing it to Logstash server using rsyslog.
I am able to get the docker container related logs, but not able to get the tomcat server and application logs from the docker container where tomcat is running.
Any suggestion on this is appreciated.


  • Correct way to detach from a container without stopping it
  • how to deploy .net core web api to linux machine
  • Neo4j - Java heap space. Wrong query or settings?
  • docker how do I make host scripts available inside a container
  • Publish app on docker when save it
  • Docker Image layers and ENTRYPOINT sequence
  • Python invoke Docker build command line only one layer is built
  • Defining services in kubelet manifest
  • Issues with putting dockerized Postgres OLTP database in read only
  • Deimos Expecting 'MESOS_SLAVE_PID' in environment variables
  • Docker proxy with custom networks
  • Marathon Docker Tasks Failing
  • One Solution collect form web for “How to get tomcat log from docker container running in atomic host”

    You could mount the local host when initializing the container. You just pass -v flag for mounting to the local host.

    docker run -v /tmp may/

    This will allow you to mount the directory of the tomcat logs to the local host.

    Here is the Docker Docs that talks about it.


    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.