CrazyMax

Results 1187 comments of CrazyMax

Not just `bake` but also `build`: ``` docker buildx build --secret=id=token,src=~/.token . ERROR: failed to build: failed to stat ~/.token: stat ~/.token: no such file or directory ``` Needs changes...

Since https://github.com/docker/buildx/pull/3351 you can use `homedir()` func as a workaround: ```hcl target "default" { secret = [ "type=file,id=token,src=${homedir()}/token" ] } ```

Can you tell us if you're still reproducing with latest Docker Desktop 4.33.0? If this is still happening can you give the output of `tree -pufi ~/.docker/buildx`. Also is Docker...

> I still see an issue in 4.33.0. Output request: @nkarpysh Thanks! Looking at the output I'm not sure how files are created with `root`. Did you invoke `sudo docker`...

This looks very similar to https://github.com/docker/for-mac/issues/7144#issuecomment-1928938785

Might be similar to https://github.com/docker/for-mac/issues/7356 Did you invoke `sudo docker`? You can mitigate this issue by fixing the owner: ``` $ sudo chown -R $(id -un):$(id -gn) ~/.docker/buildx ```

Yes I think we could have table similar to https://github.com/moby/buildkit/issues/2251. I will update this issue.