Volumes not creating correctly for docker windows, how to fix that?

docker image pull mcr.microsoft.com/windows/servercore:ltsc2019

mkdir c:\data

cd c:\data

docker run -it -v data:c:\data  mcr.microsoft.com/windows/servercore:ltsc2019

But it is using C:\ProgramData\docker\volumes\data\_data\ folder of host machine instead of direct c:\data

Any suggestions on how to make it use direct c:\data

0 Comments   [ + ] Show comments

Answers (0)

Be the first to answer this question

This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ