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.
ID: 2b8233b4-c7d6-111a-9bb1-5dae2da7a96c
Version Independent ID: b4674f08-a39e-2b28-291f-0331744d66df
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.