Skip to content

Commit

Permalink
Merge pull request #5346 from profnandaa/docs-fix-4731
Browse files Browse the repository at this point in the history
docs: windows: add a note about ContainerUser limited permissions
  • Loading branch information
tonistiigi authored Sep 23, 2024
2 parents a146d2a + 10aa090 commit 1da789b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,10 @@ Now that everything is setup, let's build a [simple _hello world_ image](https:/
This message shows that your installation appears to be working correctly.
"@
```

> **NOTE:** Writing to a file directly under `C:\` needs extra permissions that are `ContainerAdministrator`.
> The `ContainerUser` is default user for `nanoserver` image. See more details at [#4731](https://github.com/moby/buildkit/issues/4731).
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)

```powershell
Expand Down

0 comments on commit 1da789b

Please sign in to comment.