My scenario is a virtual machine running windows where I am using docker with linux containers.
My purpose is to launch a sql server container and I am having a hard time to have persistent data.
My question is how to and an explanation if posible of the command run -v to link a host folder with container.
I have read here but I am sorry I dont understand totally. Also docker documentation did not clarify at all.
My attempts failed:
docker create volume sql-data
docker run -v sql-data:C:/temp/
Error response from daemon: invalid mode: /temp/
What I read is a known error but can't find solution nor updated information about the error.
Thanks in advance.