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
• 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.
Comments
Similar requests
[Docs] Add hint for removing "healthcheck.start_interval" for use with Podman and docker compose
2 votes · 0 comments
[Feature]: Support native deployments (without docker, includes example)
79 votes · 0 comments
[Feature] Improve installation documentation
2 votes · 0 comments
[Feature] Display error in android app when server needs to update.
5 votes · 0 comments
[Feature] link to breaking changes list in update notification
4 votes · 0 comments
No comments yet.