-
Notifications
You must be signed in to change notification settings - Fork 165
Open
Labels
bugSomething isn't workingSomething isn't workingrm-externalRoadmap item submitted by non-maintainersRoadmap item submitted by non-maintainers
Description
zot version
v2.1.11
Describe the bug
Hello,
Since updating from v2.1.7 to v2.1.11, the file system under /tmp/ has been filling up with 'trivy-xxxxxx'.
To reproduce
Updating from v2.1.7 to v2.1.11
- Configuration
{
"storage": {
"rootDirectory": "/srv/zot",
"GC": true,
"gcDelay": "1h",
"gcInterval": "168h",
"dedupe": true,
"retention": {
"dryRun": false,
"delay": "24h",
"policies": [{
"repositories": ["**"],
"deleteReferrers": true,
"deleteUntagged": true,
"keepTags": [{
"pulledWithin": "720h",
"pushedWithin": "720h"
}]
}]
}
},
"http": {
"address": "0.0.0.0",
"port": "5000",
"externalUrl": "https://oci.dev.local",
"compat": ["docker2s2"],
"tls": {
"cert": "/etc/zot/fullchain.pem",
"key": "/etc/zot/privkey.pem"
},
"auth": {
"openid": {
"providers": {
"oidc": {
"credentialsFile": "/etc/zot/oidc-credentials.json",
"issuer": "https://keycloak.local/realms/sub",
"name": "SSO",
"keypath": "",
"scopes": ["openid"]
}
}
}
},
"accessControl": {
"metrics":{
"users": ["admin@local"]
},
"repositories": {
"**": {
"policies": [
{
"groups": ["S_admin"],
"actions": ["read", "create", "update", "delete"]
}
],
"anonymousPolicy": ["read"],
"defaultPolicy": ["create", "read"]
}
}
}
},
"log": {
"level": "warn"
},
"extensions": {
"metrics": {
"enable": true,
"prometheus": {
"path": "/metrics"
}
},
"scrub": {
"enable": true,
"interval": "24h"
},
"search": {
"enable": true,
"cve": {
"updateInterval": "48h"
}
},
"ui": {
"enable": true
},
"sync": {
"credentialsFile": "/etc/zot/sync-auth-filepath.json",
"registries": [
{
"urls": ["https://ghcr.io"],
"onDemand": true
},
{
"urls": ["https://docker.gitea.com"],
"onDemand": true
}
]
}
}
}
- Client tool used
- Seen error
:~]# du -sh /tmp
59G /tmp
:~]# ll /tmp/
total 2780
drwxrwxrwt 17 root root 4096 Nov 28 08:19 ./
drwxr-xr-x 21 root root 4096 Nov 24 22:48 ../
....
drwxr-xr-x 3 zot zot 4096 Nov 27 15:25 trivy-455860/
drwxr-xr-x 2 zot zot 2777088 Nov 28 08:09 trivy-456294/
....
Expected behavior
No response
Screenshots
No response
Additional context
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingrm-externalRoadmap item submitted by non-maintainersRoadmap item submitted by non-maintainers