{"id":168,"date":"2019-06-21T16:25:00","date_gmt":"2019-06-21T06:55:00","guid":{"rendered":"http:\/\/luketoop.com\/epiphanies\/?p=168"},"modified":"2019-06-21T16:25:00","modified_gmt":"2019-06-21T06:55:00","slug":"docker-on-windows-unable-to-share-drive-error","status":"publish","type":"post","link":"https:\/\/luketoop.com\/epiphanies\/docker-on-windows-unable-to-share-drive-error\/","title":{"rendered":"Docker on Windows &#8220;Unable to share drive&#8221; error"},"content":{"rendered":"<p>I just spent about half a day on this, so here&#8217;s a note that hopefully will be easier to find than wading through the troubleshooting pages and issues were for me.<\/p>\n<p>I have a work account which was set up through their Microsoft account, so my credentials look like &#8220;AzureAD\\LukeToop&#8221;. This failed when used in the Docker settings, and would also fail when using &#8216;net use&#8217; or &#8216;net share&#8217; commands in powershell.<\/p>\n<p>I had local admin on the computer, but there didn&#8217;t seem to be a way to get my credentials to work for the Docker mount command<\/p>\n<p>The suggestion which finally worked for me was to<\/p>\n<ol>\n<li>create a new &#8216;docker&#8217; user, local to the machine<\/li>\n<li>upgrade the account to admin<\/li>\n<li>Use that account, &#8220;\\&lt;machine-name&gt;\\docker&#8221;<\/li>\n<li>Wild success!<\/li>\n<\/ol>\n<p>I had also done a lot of the factory resets and so on.<\/p>\n<p>I would have given up, except that I needed shared drives for AWS SAM to work :\/<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I just spent about half a day on this, so here&#8217;s a note that hopefully will be easier to find than wading through the troubleshooting pages and issues were for me. I have a work account which was set up through their Microsoft account, so my credentials look like &#8220;AzureAD\\LukeToop&#8221;. This failed when used in [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1],"tags":[],"class_list":["post-168","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p715w6-2I","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/luketoop.com\/epiphanies\/wp-json\/wp\/v2\/posts\/168","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/luketoop.com\/epiphanies\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/luketoop.com\/epiphanies\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/luketoop.com\/epiphanies\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/luketoop.com\/epiphanies\/wp-json\/wp\/v2\/comments?post=168"}],"version-history":[{"count":1,"href":"https:\/\/luketoop.com\/epiphanies\/wp-json\/wp\/v2\/posts\/168\/revisions"}],"predecessor-version":[{"id":169,"href":"https:\/\/luketoop.com\/epiphanies\/wp-json\/wp\/v2\/posts\/168\/revisions\/169"}],"wp:attachment":[{"href":"https:\/\/luketoop.com\/epiphanies\/wp-json\/wp\/v2\/media?parent=168"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/luketoop.com\/epiphanies\/wp-json\/wp\/v2\/categories?post=168"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/luketoop.com\/epiphanies\/wp-json\/wp\/v2\/tags?post=168"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}