question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Issue Type:

  • defect report
  • enhancement request

Current Behavior:

Docker volume keeps growing… I suspect that this is cause by the recurring downloads.

> docker system df -v | grep dependency
owasp/dependency-track                              latest              cb34a56eebbc        3 months ago        168.8MB             4.413MB             164.4MB             1
acb1ef891df1        owasp/dependency-track                            "/bin/sh -c 'java $J…"   1                   1GB                 10 days ago         Exited (255) 26 seconds ago   dependency-track_server_1

Steps to Reproduce (if defect):

version: '2'
services:
  server:
    image: owasp/dependency-track
    ports:
     - "8080:8080"
docker-compose up
  1. wait for the download to complete…
  2. Ctrl-C
docker-compose up
  1. After each restart, check the volume sizes.
> docker system df -v | grep dependency

NPM, NVD-CVE seems to be redownload on every restart.

Expected Behavior:

Download incrementally.

Environment:

  • Dependency-Track Version: 3.4.0
  • Distribution: Docker
  • BOM Format & Version: ?
  • Database Server: See Docker container
  • Browser: N/A

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
stevespringettcommented, Apr 29, 2019

@Drewster727 if you’ve upgraded to 3.4.1, you can safely remove the continuous restarts. They are no longer necessary.

Logs are rotated by default. 10MB per log and up to 9 saved. These are defined here: https://github.com/DependencyTrack/dependency-track/blob/3.4.x/src/main/docker/logback.xml

0reactions
Drewster727commented, Apr 30, 2019
Read more comments on GitHub >

github_iconTop Results From Across the Web

Free up drive space in Windows - Microsoft Support
To check the total disk space left on your Windows 11 device, select File Explorer from the taskbar, and then select This PC...
Read more >
Check how much disk space is being used
To check how much space is available on a disk, go to the File Systems tab and look at the Used and Available...
Read more >
The Four Best Free Tools to Analyze Hard Drive Space on ...
You can use a disk space analyzer to scan your drive (or just a single folder) and see exactly which folders and files...
Read more >
How to use Windows 10 to see what's using the most disk space
To access the Storage settings, go to Settings > System > Storage. Once there, you will see a screen with various settings, but...
Read more >
How to Check/View Disk Storage/Usage on Windows 10/11
Step 1. Type Command Prompt in the search box. Step 2. Click on the "Run as administrator." Step 3. Type wmic diskdrive get...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found