Summary
Auth keeps asking for an iCloud password in Docker
Context
I've tried setting up a docker run with this:
docker run -it --name icloudpd -v /mnt/data-icloudpd:/data -e TZ=Pacific/Auckland icloudpd/icloudpd:latest icloudpd --directory /data --username something@something.com --watch-with-interval 3600
This asks for iCloud password, goes through the 2FA successfully and syncs the photos.
If I stop this container, and later run it with docker start icloudpd, and view the logs, I see the message iCloud Password:
I have also tried manually adding my account to the keyring of this container by doing:
docker exec -it icloudpd /bin/sh
and then inside this container:
./exec auth add something@something.com
This command executes without errors, but when I run the container with docker start icloudpd, and view the logs, I see the message iCloud Password: again.
Are you able to let me know what I'm doing wrong?
Thanks!
Summary
Auth keeps asking for an iCloud password in Docker
Context
I've tried setting up a docker run with this:
This asks for iCloud password, goes through the 2FA successfully and syncs the photos.
If I stop this container, and later run it with
docker start icloudpd, and view the logs, I see the messageiCloud Password:I have also tried manually adding my account to the keyring of this container by doing:
and then inside this container:
This command executes without errors, but when I run the container with
docker start icloudpd, and view the logs, I see the messageiCloud Password:again.Are you able to let me know what I'm doing wrong?
Thanks!