bright-gold-46739
10/13/2023, 11:25 PMdocker build -t some-image-name -f docker/Dockerfile .
[+] Building 0.0s (0/0) docker:rancher-desktop
ERROR: mkdir /Users/pawel.pawel/.docker/buildx/refs/rancher-desktop: permission denied
I am junior dev and I am facing this error while building an image. It works with sudo
but I don't wanna use this mode. I need to allow another users to be able to build an image.
Even though I've added user to staff group, and gave him rwx permissions ro rancher-desktop file, this error still occurs because those perms are change to -rw------
right after docker build command is executed :sadge I am working on mac m1
maybe some of you had to face this and could anyone tell me how to deal with it?