Hi, my name is Phuong. I am having this issue `fai...
# docker
c
Hi, my name is Phuong. I am having this issue
failed to solve with frontend dockerfile.v0: failed to solve with frontend gateway.v0: rpc error: code = Unknown desc = pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed
I am using mac M1, docker-compose V1, docker desktop unchecked V2, I also tried this https://github.com/spryker/docker-sdk/pull/225 but no luck. I followed this link https://docs.spryker.com/docs/scos/dev/setup/installing-spryker-with-docker/installat[…]uides/installing-in-development-mode-on-macos-and-linux.html any help would be really appreciated. Thank you
a
Please check if you run terminal using incorrect mode:
Copy code
for m1 users could be that for some reason terminal works in x86 mode and because of this docker could not work when you start command from terminal. This command could help to switch terminal to the right mode (for zsh)
env /usr/bin/arch -arm64 /bin/zsh --login
Copy code
and this for those who love aliases
alias arch="uname -m"
alias toarm="env /usr/bin/arch -arm64 /bin/zsh --login"
alias tox86="env /usr/bin/arch -x86_64 /bin/zsh --login"
for your info, it only applies to your current session at the terminal
if you open another tap it will be the default one which in my case
with mac m1 pro the x86_64
🙌 1
c
Thank you very much. It works.