vdsm / virtual-dsm

Virtual DSM in a Docker container.
MIT License
2.69k stars 360 forks source link

[Question]: I want to map the intel gpu driver for later use rather then re-download it everytime. #795

Closed lilws closed 1 month ago

lilws commented 3 months ago

Is your question not already answered in the FAQ?

Is this a general question and not a technical issue?

Question

I wonder is there anyway that save the intel GPU drivers for later use? Everytime I run docker compose up it re-download the driver, sometimes my networks is slow at night and it took more then 1 hour to download and install the driver. Maybe save the drive to a map volume to /config folder, and I just need to save the file for quickly compose up.

kroese commented 3 months ago

Normally this should not happen, because the driver is saved inside the container image. Only when that image is replaced with a "fresh" image (for example, when it gets overwritten when a newer version is pulled), then it will perform the download again.

So I think the reason is that you stop the container with docker compose down instead of docker stop containername? Could that be the case?