docker clean logs
truncate -s 0 /var/lib/docker/containers/*/*-json.log;
docker clean logs
truncate -s 0 /var/lib/docker/containers/*/*-json.log;
how to clear docker-compose logs
truncate -s 0 $(docker inspect --format='{{.LogPath}}' <container_name_or_id>)
docker clear logs
choose your style
> /var/lib/docker/containers/*/*-json.log
cat /dev/null > /var/lib/docker/containers/*/*-json.log
echo "" > /var/lib/docker/containers/*/*-json.log
log to file docker overflow
echo "" > $(docker inspect --format='{{.LogPath}}' <container_name_or_id>)
gffdgdsgdsgdsgd
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us