Docker Community Forums

Share and learn in the Docker community.

Windows Server 2019 Share Drives

I am running a host OS of Windows Server 2019 and I am trying to configure shared drives with Docker.

I used this to install Docker: https://docs.docker.com/install/windows/docker-ee/

In Docker Desktop for Windows there is a UI section for sharing drives (such as the C drive) which is needed to allow the containers access to the host OS file shares. Being that the Enterprise version does not have a UI, what would be the PowerShell commands needed to perform drive sharing?

1 Like

Docker team, is there any updates?

Kindof old thread but still an issue Docker Team.

Workarounds I know of:

  • Install older version of docker desktop (I had a 2.1 installer from a while ago and it let me install it on server, then updated docker and it didn’t prevent me from installing, like the new installer does.

  • WSL 2 with a docker install. WSL 2 is in preview right now in the insider branch. If enterprise, not a viable option. Luckily this worked for one of my scenarios on my personal server. Had to do the first workaround in my enterprise issue.