Docker: How to clear the logs properly for a Docker container? by IT Nursery I use docker logs [container-name] to see the logs of a specific container. Is there an elegant way to clear these logs? 20 Answers 20