File beats in docker. How to access host logs?

thanks. I keep that in mind if I need need to ship from other containers.

When I want to ship logs of classic applications from the host, which are not running in docker, then I just mount the host logfile from eg. /var/log/myapplication into the filebeat container and then I use normal file prospector in filebeat, which runs as docker, correct?