Horje
truncate docker logs Code Example
truncate docker logs
truncate -s 0 /var/lib/docker/containers/*/*-json.log

--or--

sudo sh -c "truncate -s 0 /var/lib/docker/containers/*/*-json.log"




Shell

Related
zip destination folder Code Example zip destination folder Code Example
install piper ubuntu Code Example install piper ubuntu Code Example
how to make a script run on boot linux Code Example how to make a script run on boot linux Code Example
ubuntu check chmod Code Example ubuntu check chmod Code Example
ubuntu check permissions of file Code Example ubuntu check permissions of file Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
14