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

docker install #333

Open
hulaime opened this issue Mar 9, 2022 · 5 comments
Open

docker install #333

hulaime opened this issue Mar 9, 2022 · 5 comments
Assignees
Labels
wait-for-information Wait for additional Information

Comments

@hulaime
Copy link

hulaime commented Mar 9, 2022

How to install gvm offline using docker

@NehaK275
Copy link

hi @metfairy can i solve this?

@Dexus
Copy link
Contributor

Dexus commented Mar 10, 2022

How to install gvm offline using docker

What do you mean? offline you need a way to move the image from a online system to a offline system.

docker save myimage:latest | gzip > myimage_latest.tar.gz

on you offline system:

docker load < myimage_latest.tar.gz

@Dexus Dexus closed this as completed Mar 10, 2022
@Dexus Dexus added the wait-for-information Wait for additional Information label Mar 10, 2022
@Dexus Dexus reopened this Mar 10, 2022
@hulaime
Copy link
Author

hulaime commented Mar 11, 2022

Hao to update Feed offline with(https://vulndata.securecompliance.solutions/file/VulnData/data.tar.xz),it show(Too old (167 days)
Please check the automatic synchronization of your system)now。

@Dexus
Copy link
Contributor

Dexus commented Mar 14, 2022

you can download the https://vulndata.securecompliance.solutions/file/VulnData/data.tar.xz file and then run
some steps from: https://medium.com/kokster/mount-volumes-into-a-running-container-65a967bee3b5 (⚠️ you normally should not do this!!!!)

Then you should run docker exec .... on your container and

  • copy data.tar.xz from the "hacked directory" to /tmp/
  • then you should remove the line curl -o /tmp/data.tar.xz https://vulndata.securecompliance.solutions/file/VulnData/data.tar.xz # This file is updated at 0:00 UTC every day from sync_all.sh and
  • also remove /var/lib/gvm/.firstsync and
  • run the sync_all.sh in it.

I've not tested it, but all-in-all this should work.

Let me know if it does, or the same if it not work. So I will look how I can support you here.

@Dexus
Copy link
Contributor

Dexus commented Mar 24, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wait-for-information Wait for additional Information
Projects
None yet
Development

No branches or pull requests

4 participants