<p>Interestingly I have solved that error by pressing on "Reset credentials" in <code>Docker -&gt; Settings -&gt; Shared Drives</code> and typing in the exact same account information I had before (admin account). </p>

CC BY-SA 4.0
2018-10-12T10:34:09.393Z
2018-10-12T10:34:09.393Z
TheRealVira
<p>I have been trying to setup my ASP.Net Core project with docker support, but it seems like I am failing to share my <code>C:\</code> drive?</p>

<p><a href="https://i.sstatic.net/gD5G2.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/gD5G2.png" alt="enter image description here"></a></p>

<p>Following that link I have encountered <a href="https://docs.docker.com/docker-for-windows/#shared-drives" rel="nofollow noreferrer">these documentations</a> stating that I should..</p>

<blockquote>
  <p>allow connections to 10.0.75.1 on port 445 (the Windows host) from 10.0.75.2 (the virtual machine)</p>
</blockquote>

<p>.. which I did, but I nevertheless ended up getting the same error message. So I have tried to follow some further instructions and tried to <a href="https://stackoverflow.com/questions/42203488/settings-to-windows-firewall-to-allow-docker-for-windows-to-share-drive/43904051#43904051">reinstall the File and Print sharing service on the Hyper-V virtual network card</a>. Wich has lead me to another (Windows related) error;</p>

<p><a href="https://i.sstatic.net/AwEPQ.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/AwEPQ.png" alt="enter image description here"></a></p>

<p><em>Apparently</em>, the latest Windows 10 release does not support/allow uninstalling <code>File and Printer Sharing for Microsoft Networks</code> but instead throws the <code>0x80071779 error</code>.</p>

<p>Thus there does not seem to be any "solution" to now share a drive on docker without any "hacky" solutions, no? Have I maybe missed something?</p>

<docker><windows>
How does someone share a drive to be available for my containers?
TheRealVira
# How does someone share a drive to be available for my containers?

(Asked by: username_0 on 2018-10-12)

I have been trying to setup my ASP.Net Core project with docker support, but it seems like I am failing to share my `C:\` drive?

[![enter image description here](https://i.sstatic.net/gD5G2.png)](https://i.sstatic.net/gD5G2.png)

Following that link I have encountered [these documentations](https://docs.docker.com/docker-for-windows/#shared-drives) stating that I should..

> allow connections to 10.0.75.1 on port 445 (the Windows host) from 10.0.75.2 (the virtual machine)

.. which I did, but I nevertheless ended up getting the same error message. So I have tried to follow some further instructions and tried to [reinstall the File and Print sharing service on the Hyper-V virtual network card](https://stackoverflow.com/questions/42203488/settings-to-windows-firewall-to-allow-docker-for-windows-to-share-drive/43904051#43904051). Wich has lead me to another (Windows related) error;

[![enter image description here](https://i.sstatic.net/AwEPQ.png)](https://i.sstatic.net/AwEPQ.png)

*Apparently*, the latest Windows 10 release does not support/allow uninstalling `File and Printer Sharing for Microsoft Networks` but instead throws the `0x80071779 error`.

Thus there does not seem to be any "solution" to now share a drive on docker without any "hacky" solutions, no? Have I maybe missed something?

**Tags:** docker, windows


---

## 1 answers

### Answer by username_0 on 2018-10-12. Score: 0 | Accepted answer

Interestingly I have solved that error by pressing on "Reset credentials" in `Docker -> Settings -> Shared Drives` and typing in the exact same account information I had before (admin account).


---

