lrm
lrm
IImmich
Created by lrm on 5/1/2025 in #help-desk-support
Failure to install with docker compose
Setup (Docker compose install https://immich.app/docs/install/docker-compose)
mkdir ./immich-app && cd ./immich-app
mkdir ./immich-app && cd ./immich-app
wget -O docker-compose.yml https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml
wget -O docker-compose.yml https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml
wget -O .env https://github.com/immich-app/immich/releases/latest/download/example.env
wget -O .env https://github.com/immich-app/immich/releases/latest/download/example.env
docker compose up -d
docker compose up -d
Output:
[+] Running 3/4
✔ Container immich_redis Running 0.0s
✔ Container immich_postgres Running 0.0s
✔ Container immich_machine_learning Run... 0.0s
⠋ Container immich_server Starting 0.1s
Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/etc/localtime" to rootfs at "/etc/localtime": create mountpoint for /etc/localtime mount: cannot create subdirectories in "/var/lib/docker/overlay2/3a60c668100ae6c759fb6f6adb99b548779defe3a6a5af28381db93285a81703/merged/usr/share/zoneinfo/Etc/UTC": not a directory: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type
[+] Running 3/4
✔ Container immich_redis Running 0.0s
✔ Container immich_postgres Running 0.0s
✔ Container immich_machine_learning Run... 0.0s
⠋ Container immich_server Starting 0.1s
Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/etc/localtime" to rootfs at "/etc/localtime": create mountpoint for /etc/localtime mount: cannot create subdirectories in "/var/lib/docker/overlay2/3a60c668100ae6c759fb6f6adb99b548779defe3a6a5af28381db93285a81703/merged/usr/share/zoneinfo/Etc/UTC": not a directory: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type
Is there a known solution for this? The install instructions seem straight forward, am I doing something wrong?
20 replies