Advice on how best to re-authenticate running docker containers #800
-
So I've been playing around with this tool over the weekend and have an instance of icloudpd running in a docker container on a local server (Raspberry Pi connected to RAID array). The plan for my final setup is to have two docker containers running icloudpd for two different iCloud accounts, checking once per day, with a third container running an SMTP server to act as an email host for re-authentication notifications. The main question I have is how best to re-authenticate the running docker containers? My first thought is to docker exec into the running containers and run |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
You can run icloudpd with |
Beta Was this translation helpful? Give feedback.
-
No exactly "restart the container", you'll get container running (with |
Beta Was this translation helpful? Give feedback.
You can run icloudpd with
--watch-with-interval
-- you would not need to re-authenticate for days/weeks/months. Note that setting interval too high may trigger Apple resetting auth cookies and, thus, require re-authentication - I never experimented with "max interval" and 3600 works fine for me.