Kubernetes Deep Dive Room

Sign Up Free or Log In to participate!

Persistent volumes on Docker for Desktop on Windows

More of a comment. If doing this on windows 10 running docker for desktop. Then there are a number of steps for PV to work to local disk.

1) Share the drive of folder to docker. This can be done from the command line when running docker or from the settings UI of docker for desktop under resources.

2) The hostpath needs to be of the form "/c/mt/data where c is the drive shared then mnt and data in my case is the path of folders

0 Answers

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?