Every time a container is started, it runs through the logs on the container since the last build. Is there a way to clear the log without having to rebuild the container? The issue is the same as in this, but I can’t figure out how to get to the log file on the Mac.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
How to clear Docker container logs based on the timestamp? | 2 | 2558 | May 9, 2024 | |
Docker compose dumps old log messages on startup | 1 | 1489 | September 30, 2015 | |
Docker 1.12.0-rc3-beta18: Logging doesn't work when using docker-compose up | 1 | 1444 | July 5, 2016 | |
Docker Container Logging during Testing | 1 | 17 | December 6, 2024 | |
Docker logs lost after system reboot when using local file logging driver | 1 | 1379 | January 30, 2022 |