Error when starting on M2 Mac mini with Docker Desktop
Hi y'all, I am really a noob when it comes to docker. I'm trying to run immich on my Mac mini. Downloaded the yml and env files. But I got this message when I tried to run the container:
error getting credentials - err: exit status 1, out:
error getting credentials - err: exit status 1, out:
keychain cannot be accessed because the current session does not allow user interaction. The keychain may be locked; unlock it by running "security -v unlock-keychain ~/Library/Keychains/login.keychain-db" and try again``
This looks like a MacOS thing rather than a immich/docker thing, correct? Any help? Thanks in advance.7 Replies
Are you running over ssh?
yes
you might need to run this command
security unblock-keychain
firstwell, what does it do? why does docker have anything to do with Apple keychain?
I don't want to do anything that might compromises the security of my machine, obv.
Good question, I've never run docker over ssh on a mac
going by https://apple.stackexchange.com/a/178146, it's because macos wants to ask you for permission for something to use a keychain entry, but it can't make the pop-up show up over ssh.
not sure what docker is needing keychain access for in this case but it does use it for
docker login
if you have an account set up.Thanks. I'll try again when I have some free time.