chyroc / icloudgo

Access Apple iCloud via go, go port of pyicloud
Apache License 2.0
87 stars 10 forks source link

还没输入2fa验证码就报错了 #1

Closed bosconb closed 1 year ago

bosconb commented 1 year ago
❯ docker run \
  -e ICLOUD_USERNAME=xxxxxxx@qq.com \
  -e ICLOUD_PASSWORD=xxxxxxxxx \
  -e ICLOUD_COOKIE_DIR=/icloud_cookie \
  -e ICLOUD_DOMAIN=cn \
  -e ICLOUD_OUTPUT=/icloud_photos \
  -v ~/.pyicloud:/icloud_cookie \
  -v ~/Pictures/icloudbackup:/icloud_photos \
  ghcr.io/chyroc/icloud-photo-cli:0.5.0 download
Unable to find image 'ghcr.io/chyroc/icloud-photo-cli:0.5.0' locally
0.5.0: Pulling from chyroc/icloud-photo-cli
63b65145d645: Pull complete
05aee552458c: Pull complete
Digest: sha256:130e8039aed67a02c871231a669956de598f6a40f692d59a35277947560f9f1c
Status: Downloaded newer image for ghcr.io/chyroc/icloud-photo-cli:0.5.0
Authenticating as xxxxxxx@qq.com 
Please input 2fa code
Login failed
2023/02/18 10:39:06 login failed: get 2fa code failed, err: EOF
chyroc commented 1 year ago

-i 参数,让 docker 能够捕捉你的输入