MicrosoftDocs / Virtualization-Documentation

Place to store our documentation, code samples, etc for public consumption.
http://docs.microsoft.com/virtualization/
Creative Commons Attribution 4.0 International
1.79k stars 1.54k forks source link

Add Support for Emulating Pre-Populated Volumes #1959

Open ntrappe-msft opened 5 months ago

ntrappe-msft commented 5 months ago

Could we update this section to include a way to emulate volume pre-populating? While we cannot pre-populate volumes the way Docker Linux containers can, we can emulate that stage by using a temporary container. I've written up a detailed description here but, basically, we run a temp container that mounts both the file with the files we want copied into the volume and the volume. In the temp container, we copy the contents of the folder into the equivalent folder for the volume in the container. Now, the volume has been populated and can be attached to other containers in the future.


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.