Skip to content

Can't re-authenticate without stopping Docker container #191

@mahi2003

Description

@mahi2003

After icloudpd recently stopped working for accounts with 2FA, I switched to kei. I really like it. Thank you for making this!

However, I can't figure out how to request and enter the 2FA code when running as Docker container. The wiki states to use following commands outside the container:

docker exec kei kei login get-code
docker exec -it kei kei login submit-code 123456

When I execute the first command, I get an error:

Error: Another kei instance is running for this account (lock: /config/.lock). If running in Docker, check for orphaned containers with docker ps and stop them with docker stop <name>.

I can stop the container and then use docker run to pass the command, but it is supposed to work without stopping the container. I am probably doing something stupid, but I don't see it...

Metadata

Metadata

Assignees

Labels

authAuthentication, sessions, 2FAbugSomething isn't workinguser-reportedReported by a user

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions