Getting Updates¶
Docker Compose¶
Open a terminal on your server, and run the following commands to pull the latest container image and restart PhotoPrism:
docker-compose pull photoprism
docker-compose stop photoprism
docker-compose up -d photoprism
Pulling a new version can take several minutes, depending on your internet connection.
Advanced users may put this into a Makefile
so that they only need to type a single command.
See Setup Using Docker Compose for a full command reference.
Preview Builds
Update your docker-compose.yml
to use photoprism/photoprism:preview
instead of
photoprism/photoprism:latest
for testing our latest development preview.
The image name for ARM64 is photoprism/photoprism-arm64:preview
.
Watchtower¶
Adding Watchtower as a service to your docker-compose.yml
will
automatically keep images up-to-date:
services:
watchtower:
image: containrrr/watchtower
restart: unless-stopped
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
Info
Automatic updates may interrupt indexing and importing operations. Only enable Watchtower if you are comfortable with this.
Pure Docker¶
Open a terminal on your server, and run the following command to pull the latest container image:
docker pull photoprism/photoprism:latest
For our Raspberry Pi / ARM64 version:
docker pull photoprism/photoprism-arm64:latest
See Running PhotoPrism with Docker for a full command reference.
Preview Builds
Use photoprism/photoprism:preview
instead of photoprism/photoprism:latest
for testing
our latest development preview. The image name for ARM64 is photoprism/photoprism-arm64:preview
.