Skip to content

Commit 1da789b

Browse files
authored
Merge pull request moby#5346 from profnandaa/docs-fix-4731
docs: windows: add a note about ContainerUser limited permissions
2 parents a146d2a + 10aa090 commit 1da789b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/windows.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,10 @@ Now that everything is setup, let's build a [simple _hello world_ image](https:/
154154
This message shows that your installation appears to be working correctly.
155155
"@
156156
```
157+
158+
> **NOTE:** Writing to a file directly under `C:\` needs extra permissions that are `ContainerAdministrator`.
159+
> The `ContainerUser` is default user for `nanoserver` image. See more details at [#4731](https://github.com/moby/buildkit/issues/4731).
160+
157161
1. Build and push to your registry (or set to `push=false`). For Docker Hub, make sure you've done `docker login`. See more details on registry configuration [here](../README.md#imageregistry)
158162
159163
```powershell

0 commit comments

Comments
 (0)