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
Alex Tran
Alex Tran2y ago
Are you running over ssh?
Ceyropaiax
CeyropaiaxOP2y ago
yes
Alex Tran
Alex Tran2y ago
you might need to run this command security unblock-keychain first
Ceyropaiax
CeyropaiaxOP2y ago
well, 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.
Alex Tran
Alex Tran2y ago
Good question, I've never run docker over ssh on a mac
sogan
sogan2y ago
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.
Ceyropaiax
CeyropaiaxOP2y ago
Thanks. I'll try again when I have some free time.

Did you find this page helpful?