Skip to content

Commit

Permalink
Documentation for stdin password
Browse files Browse the repository at this point in the history
  • Loading branch information
Frank Steiler committed Sep 22, 2023
1 parent c71e2bc commit 8be7b52
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/src/get-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ The `latest` tag should always represent the latest stable release, whereas the
- <photos-dir>:/opt/icloud-photos-library
```


Get the latest image by running:

```
Expand All @@ -53,6 +55,8 @@ The `latest` tag should always represent the latest stable release, whereas the
docker pull steilerdev/icloud-photos-sync:latest
```

!!! tip "Plain text password"
If you don't want to store your plain text password in the environment, it is possible to omit the `APPLE_ID_PWD` option, which will lead to the application awaiting the password from the command line upon start. To input the password into the running Docker container [it needs to be started with `tty: true` and `stdin_open: true`](https://docs.docker.com/compose/compose-file/compose-file-v3/#domainname-hostname-ipc-mac_address-privileged-read_only-shm_size-stdin_open-tty-user-working_dir) / `docker run -itd` for [detached mode](https://docs.docker.com/engine/reference/run/#detached--d) with [tty and stdin open](https://docs.docker.com/engine/reference/run/#foreground). Once the container was started, you can attach to the running `icloud-photos-sync` process using [`docker attach photos-sync`](https://docs.docker.com/engine/reference/commandline/attach/)

=== "node"

Expand Down

0 comments on commit 8be7b52

Please sign in to comment.