Skip to content

Struggling with Auth and Docker #671

@KiLLeRRaT

Description

@KiLLeRRaT

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions