-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
where we can find docker container logs #4597
Comments
Thanks for your report. Unfortunately the paths Perhaps you could run
which would give it access to the correct paths. Another possibility is to write a small program / script which uses Another possibility is to write a Docker logging plugin which could ship the logs somewhere. Let me know what you think. |
Thanks David, could you please suggest ideal logging plugin to ship logs |
Issues go stale after 90 days of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
Closed issues are locked after 30 days of inactivity. If you have found a problem that seems similar to this, please open a new issue. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
I want to consume docker container STDOUT using filebeat. In general it is mentioned container logs will be stored under /var/lib/docker/containers/
docker inspect f98f60f4db0c
gives log path in
"LogPath": "/var/lib/docker/containers/f98f60f4db0c3220e624312cd71b0c85ddcd1919c75567deae35f4ab07ab0877/f98f60f4db0c3220e624312cd71b0c85ddcd1919c75567deae35f4ab07ab0877-json.log"
but i don't see even
/var/lib/docker/
I don't see any logs even under
~/Library/Containers/com.docker.docker/Data/vms/0/
following are my mac and docker
macOS Version: 10.14.6
Docker Version: 2.3.0.2 (docker dekstop)
please let me know where can i find docker container logs for mac to capture them in filebeat.
The text was updated successfully, but these errors were encountered: