goharbor / harbor

An open source trusted cloud native registry project that stores, signs, and scans content.
https://goharbor.io
Apache License 2.0
24.29k stars 4.77k forks source link

Anonymous volumes are created using docker-compose.yml #21065

Open abdeldjalil-fellah opened 1 month ago

abdeldjalil-fellah commented 1 month ago

Issue: anonymous volumes are created by these services using docker-compose.yml

Solution:

wy65701436 commented 1 month ago

Could you clarify the impact of those volumes? These are required directories for Nginx, syslog, and the registry. What concerns do you have regarding them?

abdeldjalil-fellah commented 1 month ago

Every time you do "docker compose up -d" anonymous volumes are created. They will accumulate in /var/lib/docker/volumes and eventually consume a significant amount of disk space.

image