Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify tmp directory for Docker Image scan #39

Open
LynAutumn opened this issue Jun 1, 2022 · 1 comment
Open

Specify tmp directory for Docker Image scan #39

LynAutumn opened this issue Jun 1, 2022 · 1 comment

Comments

@LynAutumn
Copy link

For scanning large Docker images, we must change the temporary directory as its space is limited and our scan therefore fails. Documentation states that "[t]he Docker image is saved to the temporary directory defined in your environment and is deleted immediately after the scan." -> so how can we change this said "temporary directory" or can it only use "/tmp"?

@LenaKleyner
Copy link

LenaKleyner commented Jun 14, 2022

Hi @LynAutumn, currently there is no option to control the temporary directory location via the Unified Agent's settings however it can be achieved by tweaking the JVM -Djava.io.tmpdir parameter.
A usage example: java -Djava.io.tmpdir=/path/to/tmpdir -jar unified-agent.jar -c <config-file> -d <scan-dir>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants