© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
3 replies
Fruity Mike

File logs and docker

Hey,

I have a web api which uses serilog to log into files. Whenever it runs in a container those logs are also contained in the container. As far as I understand after container stops running logs are lost. I'm aware of log driver but haven't read enough yet. So I basically want to retrieve those files/logs. Maybe anyone could point me to a "good practice" or a solution for this kind of problem?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ logs with network file sending
C#CC# / help
4y ago
How find file in Docker?
C#CC# / help
2y ago
✅ Cant build a docker file
C#CC# / help
3y ago
❔ Docker file for Multi-layered project
C#CC# / help
3y ago