Clear docker log
echo '' | sudo tee /path_to_log/log.json > /dev/null # root user alternative echo "" > $(docker inspect --format='{{.LogPath}}' <container_name_or_id>)