After a few months of running your containers, you may need to cleanup the logs. Since these are text logs, after a while, they take a huge amount of hard disk on your host machine. To remove these logs, you can run the command below.
$ truncate -s 0 $(docker inspect --format='{{.LogPath}}' <your-container-name>)
Let's assume that your container is named 'my-container' so that the command will be