Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

docker remove logs

echo "" > $(docker inspect --format='{{.LogPath}}' <container_name_or_id>)
Comment

delete docker logs linux

find /var/lib/docker/containers/ -type f -name "*.log" -delete
Comment

PREVIOUS NEXT
Code Example
Shell :: error Command failed with exit code 3221225477 
Shell :: how to kill port in ubuntu 
Shell :: change brightness ubuntu 20.04 
Shell :: react native installation 
Shell :: git@bitbucket.org: Permission denied (publickey). 
Shell :: git show upstream 
Shell :: install git flow linux 
Shell :: linux diff two folder recursively 
Shell :: timezone brasil postgresql 
Shell :: install jdk linux 
Shell :: artisan migration rollback 
Shell :: macos kill dns cache 
Shell :: how to change permissions for the whole folder in ubuntu 
Shell :: untar gz 
Shell :: how to check eigen version 
Shell :: CUDA_HOME environment variable is not set. Please set it to your CUDA install root. 
Shell :: close port ubuntu 
Shell :: angular 
Shell :: linux resize image 
Shell :: installing mailcatcher ubuntu 
Shell :: bleachbit command line install 
Shell :: android turn off emulator in mac 
Shell :: elastic beanstalk installation command on cli 
Shell :: restart firewalld 
Shell :: pop shell ubuntu 
Shell :: postgres config file location 
Shell :: Install the latest stable version of Mesa driver in Ubuntu 
Shell :: tmux how to scroll in history 
Shell :: linux speedtest 
Shell :: git reset origin branch 
ADD CONTENT
Topic
Content
Source link
Name
6+4 =