https://www.docker.com/

Clear docker log

1
$ sudo sh -c "truncate -s 0 $(docker inspect --format='{{.LogPath}}' <container_name_or_id>)"
Reference: