tl;dr Docker for Windows does not accept Windows 10 pins as authentication. Instead, create a local username and password to share drives with.
I recently setup a new Dell XPS 13” for work, with Windows 10. Microsoft has been encouraging users to use a pin instead of a password1; I decided to try it out.
With Windows 10 installed, I next installed Docker for my local development work. Instead of installing development SDKs locally for each language I work in, as of late I’ve been trying to use Docker images for each SDK. My typical workflow is to write source files on my host, and then mount and run those files in the appropriate Docker container.
In order to mount source files into a Docker container within Windows 10, you first need to share any local drives that you intend to mount2. When attempting to share my local drive with Docker, I was prompted for a username and password. Unfortunately, Docker does not accept the pin I setup as valid authentication3.
- https://docs.microsoft.com/en-us/windows/security/identity-protection/hello-for-business/hello-why-pin-is-better-than-password [return]
- https://docs.docker.com/docker-for-windows/#shared-drives [return]
- https://github.com/docker/for-win/issues/616 [return]
- https://support.microsoft.com/en-us/help/4026923/windows-10-create-a-local-user-or-administrator-account [return]
- https://forums.docker.com/t/how-to-share-windows-drives-with-a-user-without-password/22933 [return]