What's the correct way to mount a volume on Docker for Windows?

I am using:

-v "C:\Docker\mysql-server:C:\db"

for my mssql container. Where C:\Docker\mssql-server is my local dir. C:\db will be automatically created in my container. / is used in linux only

1 Like