Windows Docker simple container volume - access denied

I’m test on freshly installed windows 2019 1809 (sorry not found 2019 category) on VMware VM.
Install docker for server via microsoft instruction.

Expected behavior

Expected what i can create file and folders

Actual behavior

Inside container:

C:\>dir
 Volume in drive C has no label.
 Volume Serial Number is 3A86-9FF8

 Directory of C:\

11/03/2021  03:59 PM             5,510 License.txt
12/14/2021  12:58 AM    <DIR>          test
11/03/2021  04:06 PM    <DIR>          Users
12/14/2021  01:18 AM    <DIR>          Windows
               1 File(s)          5,510 bytes
               3 Dir(s)  21,306,183,680 bytes free

C:\>cd test
Access is denied.

C:\>

Information

PS C:\Users\Administrator> docker events
2021-12-14T01:18:09.870941200-08:00 volume create testvol (driver=local)
2021-12-14T01:18:09.878527300-08:00 container create 5ebb39a6b929253b7d79dbfc720fea106f8a2645ffc93e186a1f62fb5506b80e (image=mcr.microsoft.com/windows/nanoserver:1809, name=sad_antonelli)
2021-12-14T01:18:09.878527300-08:00 container attach 5ebb39a6b929253b7d79dbfc720fea106f8a2645ffc93e186a1f62fb5506b80e (image=mcr.microsoft.com/windows/nanoserver:1809, name=sad_antonelli)
2021-12-14T01:18:20.367885400-08:00 network connect dcfb854e0039295c03221a2f7d57cfe0994e29182d34e8e2dfee1fde1905a2da (container=5ebb39a6b929253b7d79dbfc720fea106f8a2645ffc93e186a1f62fb5506b80e, name=nat, type=nat)
2021-12-14T01:18:38.859732800-08:00 container start 5ebb39a6b929253b7d79dbfc720fea106f8a2645ffc93e186a1f62fb5506b80e (image=mcr.microsoft.com/windows/nanoserver:1809, name=sad_antonelli)
2021-12-14T01:18:38.865789700-08:00 container resize 5ebb39a6b929253b7d79dbfc720fea106f8a2645ffc93e186a1f62fb5506b80e (height=49, image=mcr.microsoft.com/windows/nanoserver:1809, name=sad_antonelli, width=120)
2021-12-14T01:19:29.454966900-08:00 container die 5ebb39a6b929253b7d79dbfc720fea106f8a2645ffc93e186a1f62fb5506b80e (exitCode=1, image=mcr.microsoft.com/windows/nanoserver:1809, name=sad_antonelli)
2021-12-14T01:19:29.474142200-08:00 network disconnect dcfb854e0039295c03221a2f7d57cfe0994e29182d34e8e2dfee1fde1905a2da (container=5ebb39a6b929253b7d79dbfc720fea106f8a2645ffc93e186a1f62fb5506b80e, name=nat, type=nat)
2021-12-14T01:20:02.038312100-08:00 volume unmount testvol (container=5ebb39a6b929253b7d79dbfc720fea106f8a2645ffc93e186a1f62fb5506b80e, driver=local)
2021-12-14T01:20:02.048384100-08:00 container destroy 5ebb39a6b929253b7d79dbfc720fea106f8a2645ffc93e186a1f62fb5506b80e (image=mcr.microsoft.com/windows/nanoserver:1809, name=sad_antonelli)

Steps to reproduce the behavior

Run as administrator:
PS C:\Users\Administrator> docker run -it --rm -v testvol:C:/test mcr.microsoft.com/windows/nanoserver:1809 cmd

I found solution, but can someone show me documentation about it?
Solution:
Give full permissions for folder vith volumes on C:\Program Data\Docker…

1 Like