FeatureFuel
5

[Feature] Update documentation for CLI when using docker

Source: immich-app/immich#9664 · opened by @rmarquet
I have searched the existing feature requests to make sure this is not a duplicate request.

• Yes

The feature

[The CLI page]( mentions using docker but doesn't go into much more detail after that. I suggest adding something like the following text:

Note, the docker command given doesn't install immich on the system; you have to run that docker command each time.

To run an upload command via docker, you need to do something like the following:

docker run -it -v "$(pwd)":/import:ro -v your-local-directory-with-assets-to-be-uploaded:/upload:ro -e IMMICH_INSTANCE_URL= -e IMMICH_API_KEY=your-api-key ghcr.io/immich-app/immich-cli:latest upload /upload --recursive

Note the additional -v to specify the directory you want to upload, giving access to that directory to the docker command as /upload (which is then used in the upload command options).

Platform

• Server
• Web
• Mobile

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests