Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

docker remove logs

echo "" > $(docker inspect --format='{{.LogPath}}' <container_name_or_id>)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #docker #remove #logs
ADD COMMENT
Topic
Name
6+6 =