CrazyMax

Results 1190 comments of CrazyMax

@valaphee Can you show the steps when you create the NTFS mount point? Would like to repro on a Windows machine.

Was able to repro on Windows VM with Buildx 0.24.0: I have mounted a volume in the NTFS folder `C:\Test` and created an HCL definition with a Dockerfile inside this...

Made some tests and for fs entitlements it fails here https://github.com/docker/buildx/blob/d61853bbb3eac7710ef3bfd4d48eaef662c13222/bake/entitlements.go#L609 Because file mode on the folder as mounted volume is not a dir but marked as irregular: ```go func...

Ah I think I found out why: * https://github.com/golang/go/blob/cfb4e9bc4ae957dba63cb2ee5e020fcd25d553fd/src/os/stat.go#L21-L23 * https://github.com/golang/go/blob/cfb4e9bc4ae957dba63cb2ee5e020fcd25d553fd/src/os/types_windows.go#L149-L157 To mitigate this issue I guess we could read the reparse data and follow the reparse point using `os.Stat`?

> You might try building with `winsymlink=0` and see if that solves the issue. Ok behavior of `os.Lstat` in entitlements seems fixed with `winreadlinkvolume=0`.

> Ok behavior of `os.Lstat` in entitlements seems fixed with `winreadlinkvolume=0`. Nevermind we still have an issue with `os.Lstat` but with `winsymlink=0` seems to resolve correctly with UNC path: ```go...

@valaphee Is it working if you build with `winsymlink=0`?: ```powershell > $env:GODEBUG = 'winsymlink=0'; docker compose up --build ```

@dvdksn For docs follow-up we could add https://github.com/docker/docs/pull/21214 to contributing docs.

@tonistiigi It's about the local cache exporter. Atm caches are copied over the existing cache so it keeps growing (#1850).

> However, I still think this should be fixed for the portable app, it shouldn't be enabled by default at the very least. Yes I think it should be disabled...