Our company has implemented dockerization of all services. Our current plan is to add -v to the startup script, mount the logs of each service to the log directory of the corresponding service folder on the host, and then build a splunk system for viewing , currently working very well.
You can try using -v to share the space inside the container to the host and view it directly on the host.
Our company has implemented dockerization of all services. Our current plan is to add -v to the startup script, mount the logs of each service to the log directory of the corresponding service folder on the host, and then build a splunk system for viewing , currently working very well.