Hi all,
is it safe to hit the delete button on the right to delete logs? Or will this delete essential files for the container I am running? I am looking to clear disk space
Share and learn in the Docker community.
Hi all,
is it safe to hit the delete button on the right to delete logs? Or will this delete essential files for the container I am running? I am looking to clear disk space
It will not delete anything, only the visible lines on the logs tab. You can use it when you watched the logs and there are too many lines and you want to see the new logs only so you clear the screen.
Thanks.
Do you know how you can clear disk space when running a container? Iām using windows. Using docker prune command might end up deleting files I need to keep.
Well, use a proper system command and donāt delete what you donāt want. If your containers have large logs, those logs will be kept until you delete the container, but you donāt need to delete volumes where all your data should be. You can delete build cache, dangling images and stopped containers you donāt need anymore just forgot to delete.
Some help here