© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
ImmichI
Immich•7mo ago•
13 replies
Kilbers

Can't Start (Docker)

I've made some changes to my Immich Server. It's in a Proxmox LCX Container. Proxmox has a ZFS Pool and I've mounted the drives respectively.
mp0: /Store/immich_photos,mp=/mnt/immich_photos
mp1: /Store/immich_db,mp=/mnt/immich_db
mp0: /Store/immich_photos,mp=/mnt/immich_photos
mp1: /Store/immich_db,mp=/mnt/immich_db


1. Moved photos to immich_photos
2. Moved DB to immich_db

In my .env I've done:

# The location where your uploaded files are stored
UPLOAD_LOCATION=/mnt/immich_photos

# The location where your database files are stored. Network shares are not supported for the dat>
DB_DATA_LOCATION=/mnt/immich_db/pgdata
# The location where your uploaded files are stored
UPLOAD_LOCATION=/mnt/immich_photos

# The location where your database files are stored. Network shares are not supported for the dat>
DB_DATA_LOCATION=/mnt/immich_db/pgdata


My docker-compose looks like:

  immich-server:
    container_name: immich_server
    image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
    # extends:
    #   file: hwaccel.transcoding.yml
    #   service: cpu # set to one of [nvenc, quicksync, rkmpp, vaapi, vaapi-wsl] for accelerated >
    volumes:
      # Do not edit the next line. If you want to change the media storage location on your syste>
      - ${UPLOAD_LOCATION}:/data
      - /etc/localtime:/etc/localtime:ro
  immich-server:
    container_name: immich_server
    image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
    # extends:
    #   file: hwaccel.transcoding.yml
    #   service: cpu # set to one of [nvenc, quicksync, rkmpp, vaapi, vaapi-wsl] for accelerated >
    volumes:
      # Do not edit the next line. If you want to change the media storage location on your syste>
      - ${UPLOAD_LOCATION}:/data
      - /etc/localtime:/etc/localtime:ro


When I do:

 docker compose up -d 
 docker compose up -d 


I get:

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 preparing rootfs: remount-private dst=/var/lib/docker/vfs/dir/4d2dee32a450f2b8fe40312a4ce8007c6de8984cf74c5a074291bec86fc288fc, flags=0x40000: permission denied: unknown
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 preparing rootfs: remount-private dst=/var/lib/docker/vfs/dir/4d2dee32a450f2b8fe40312a4ce8007c6de8984cf74c5a074291bec86fc288fc, flags=0x40000: permission denied: unknown


I can cd to the /mnt/immich_photos and see the data, I can create folders in there so not a permissions issue I don't think?

Thanks for the help.
ImmichJoin
A place to hang out, get support, discuss Immich, get announcements about releases and anything else going on.
36,590Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Can't start docker stack
ImmichIImmich / help-desk-support
6mo ago
Can't start Docker when external library isn't connected
ImmichIImmich / help-desk-support
5mo ago
Immich can't start
ImmichIImmich / help-desk-support
2y ago
Docker Prune - now Immich won't start
ImmichIImmich / help-desk-support
2mo ago