You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would it be possible to scan docker log files, eg. with default json driver:
/var/lib/docker/containers/{container_id}/{container_id}-json.log
The problem is that container_id is a dynamic thing, and changes with each container restart. Is there an example about how to solve dynamic log names?
Other way around might be to somehow filter each line. Json line could include a key which defined which container it belongs to.
Thanks!
The text was updated successfully, but these errors were encountered:
Would it be possible to scan docker log files, eg. with default json driver:
/var/lib/docker/containers/{container_id}/{container_id}-json.log
The problem is that container_id is a dynamic thing, and changes with each container restart. Is there an example about how to solve dynamic log names?
Other way around might be to somehow filter each line. Json line could include a key which defined which container it belongs to.
Thanks!
The text was updated successfully, but these errors were encountered: