Closed azimut closed 7 years ago
Somewhat related, I gave this one a shot and for me it seemed to work keeping user settings by just creating a volume for /var/lib/openvas/mgr:
mkdir ~/mgr
docker run --name openvas -d -p 4000:4000 -v /home/your-user/mgr/:/var/lib/openvas/mgr/ mikesplain/openvas:9
You just need to create the default user yourself after launching it the first time
docker exec -ti openvas openvasmd --create-user=admin
docker exec -ti openvas openvasmd --user=admin --new-password=super_secret_password
You may need to wait for it to be fully up before you can create the user.
Not sure if the reports are stored in the same files, but will have a look.
Edit: Reports seem to be in the same files within this folder.
Thanks for our help! I added support for this and documented it in the repo. Let me know if you have any issues!
Test and document volumes for persistence of the reports.