Issue when installing immich in RHEL9.5, using podman 5.4.0-12 and podman-compose 1.5.0-1 #6561

Closed
opened 2026-02-05 12:22:42 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @waldirio on GitHub (Jul 25, 2025).

I have searched the existing issues, both open and closed, to make sure this is not a duplicate report.

  • Yes

The bug

Hello,

I just followed the steps to deploy the app via docker compose process. The compose and .env are standard, and whenever starting it via podman compose up, I can see the messages below

# podman compose up
>>>> Executing external compose provider "/usr/bin/podman-compose". Please see podman-compose(1) for how to disable this message. <<<<

93e160ca492381bd35f4976a4e808be9a30187e1674f21c4001724cbc3324f53
64117c6e48404a264d9becddcd68e2cc8d7241325f2ad1050a741f9160f8e0c2
3edd6765fd58df711305ff0689e9dbdd0eacc524cc63163246b985486f72b5a3
e8c2ee0e542ee1db224891c5db7dba6739ddae48a58b9d2ab2f08cb1c0c7a55b
b110d3a334dcf6f0d76db16051d8e92df1112234025fec44b4ba68e411d472de
[immich-machine-learning] | Error: unable to start container 64117c6e48404a264d9becddcd68e2cc8d7241325f2ad1050a741f9160f8e0c2: netavark: IO error: Error while applying dns entries: IO error: aardvark-dns failed to start: Error from child process
[immich-machine-learning] | Error starting server failed to bind udp listener on 10.89.5.1:53: IO error: Address already in use (os error 98)
[database]                | [WARN  netavark::dns::aardvark] Failed to delete aardvark-dns entries after failed start: IO error: aardvark-dns failed to start: Error from child process
[database]                | Error: unable to start container e8c2ee0e542ee1db224891c5db7dba6739ddae48a58b9d2ab2f08cb1c0c7a55b: netavark: IO error: Error while applying dns entries: IO error: aardvark-dns failed to start: Error from child process
[database]                | Error starting server failed to bind udp listener on 10.89.5.1:53: IO error: Address already in use (os error 98)
[redis]                   | Error: unable to start container 3edd6765fd58df711305ff0689e9dbdd0eacc524cc63163246b985486f72b5a3: netavark: IO error: Error while applying dns entries: IO error: aardvark-dns failed to start: Error from child process
[redis]                   | Error starting server failed to bind udp listener on 10.89.5.1:53: IO error: Address already in use (os error 98)

The images got downloaded properly, and I can see this error about aardvark-dns. Before doing a lot of changes, I would like to report it, once I believe more people will face a similar issue when trying to follow the steps, to deploy it via podman.

The OS that Immich Server is running on

RHEL9.5

Version of Immich Server

release

Version of Immich Mobile App

not installed via mobile yet

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

# cat docker-compose.yml
#
# WARNING: To install Immich, follow our guide: https://immich.app/docs/install/docker-compose
#
# Make sure to use the docker-compose.yml of the current release:
#
# https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml
#
# The compose file on main may not be compatible with the latest release.

name: immich

services:
  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 transcoding
    volumes:
      # Do not edit the next line. If you want to change the media storage location on your system, edit the value of UPLOAD_LOCATION in the .env file
      - ${UPLOAD_LOCATION}:/usr/src/app/upload
      - /etc/localtime:/etc/localtime:ro
    env_file:
      - .env
    ports:
      - '2283:2283'
    depends_on:
      - redis
      - database
    restart: always
    healthcheck:
      disable: false

  immich-machine-learning:
    container_name: immich_machine_learning
    # For hardware acceleration, add one of -[armnn, cuda, rocm, openvino, rknn] to the image tag.
    # Example tag: ${IMMICH_VERSION:-release}-cuda
    image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}
    # extends: # uncomment this section for hardware acceleration - see https://immich.app/docs/features/ml-hardware-acceleration
    #   file: hwaccel.ml.yml
    #   service: cpu # set to one of [armnn, cuda, rocm, openvino, openvino-wsl, rknn] for accelerated inference - use the `-wsl` version for WSL2 where applicable
    volumes:
      - model-cache:/cache
    env_file:
      - .env
    restart: always
    healthcheck:
      disable: false

  redis:
    container_name: immich_redis
    image: docker.io/valkey/valkey:8-bookworm@sha256:facc1d2c3462975c34e10fccb167bfa92b0e0dbd992fc282c29a61c3243afb11
    healthcheck:
      test: redis-cli ping || exit 1
    restart: always

  database:
    container_name: immich_postgres
    image: ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0@sha256:5f6a838e4e44c8e0e019d0ebfe3ee8952b69afc2809b2c25f7b0119641978e91
    environment:
      POSTGRES_PASSWORD: ${DB_PASSWORD}
      POSTGRES_USER: ${DB_USERNAME}
      POSTGRES_DB: ${DB_DATABASE_NAME}
      POSTGRES_INITDB_ARGS: '--data-checksums'
      # Uncomment the DB_STORAGE_TYPE: 'HDD' var if your database isn't stored on SSDs
      # DB_STORAGE_TYPE: 'HDD'
    volumes:
      # Do not edit the next line. If you want to change the database storage location on your system, edit the value of DB_DATA_LOCATION in the .env file
      - ${DB_DATA_LOCATION}:/var/lib/postgresql/data
    shm_size: 128mb
    restart: always

volumes:
  model-cache:

Your .env content

# cat .env
# You can find documentation for all the supported env variables at https://immich.app/docs/install/environment-variables

# The location where your uploaded files are stored
UPLOAD_LOCATION=./library

# The location where your database files are stored. Network shares are not supported for the database
DB_DATA_LOCATION=./postgres

# To set a timezone, uncomment the next line and change Etc/UTC to a TZ identifier from this list: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List
# TZ=Etc/UTC

# The Immich version to use. You can pin this to a specific version like "v1.71.0"
IMMICH_VERSION=release

# Connection secret for postgres. You should change it to a random password
# Please use only the characters `A-Za-z0-9`, without special characters or spaces
DB_PASSWORD=postgres

# The values below this line do not need to be changed
###################################################################################
DB_USERNAME=postgres
DB_DATABASE_NAME=immich

Reproduction steps

  1. install podman
  2. install podman-compose from epel
  3. follow the steps in immich docs to create a local directory, download the files, and execute podman compose up

Ps.: I'm running without -d on purpose, once it's not working as expected.

Relevant log output

# podman compose up
>>>> Executing external compose provider "/usr/bin/podman-compose". Please see podman-compose(1) for how to disable this message. <<<<

93e160ca492381bd35f4976a4e808be9a30187e1674f21c4001724cbc3324f53
64117c6e48404a264d9becddcd68e2cc8d7241325f2ad1050a741f9160f8e0c2
3edd6765fd58df711305ff0689e9dbdd0eacc524cc63163246b985486f72b5a3
e8c2ee0e542ee1db224891c5db7dba6739ddae48a58b9d2ab2f08cb1c0c7a55b
b110d3a334dcf6f0d76db16051d8e92df1112234025fec44b4ba68e411d472de
[immich-machine-learning] | Error: unable to start container 64117c6e48404a264d9becddcd68e2cc8d7241325f2ad1050a741f9160f8e0c2: netavark: IO error: Error while applying dns entries: IO error: aardvark-dns failed to start: Error from child process
[immich-machine-learning] | Error starting server failed to bind udp listener on 10.89.5.1:53: IO error: Address already in use (os error 98)
[database]                | [WARN  netavark::dns::aardvark] Failed to delete aardvark-dns entries after failed start: IO error: aardvark-dns failed to start: Error from child process
[database]                | Error: unable to start container e8c2ee0e542ee1db224891c5db7dba6739ddae48a58b9d2ab2f08cb1c0c7a55b: netavark: IO error: Error while applying dns entries: IO error: aardvark-dns failed to start: Error from child process
[database]                | Error starting server failed to bind udp listener on 10.89.5.1:53: IO error: Address already in use (os error 98)
[redis]                   | Error: unable to start container 3edd6765fd58df711305ff0689e9dbdd0eacc524cc63163246b985486f72b5a3: netavark: IO error: Error while applying dns entries: IO error: aardvark-dns failed to start: Error from child process
[redis]                   | Error starting server failed to bind udp listener on 10.89.5.1:53: IO error: Address already in use (os error 98)

Additional information

No response

Originally created by @waldirio on GitHub (Jul 25, 2025). ### I have searched the existing issues, both open and closed, to make sure this is not a duplicate report. - [x] Yes ### The bug Hello, I just followed the steps to deploy the app via docker compose process. The `compose` and `.env` are standard, and whenever starting it via `podman compose up`, I can see the messages below ``` # podman compose up >>>> Executing external compose provider "/usr/bin/podman-compose". Please see podman-compose(1) for how to disable this message. <<<< 93e160ca492381bd35f4976a4e808be9a30187e1674f21c4001724cbc3324f53 64117c6e48404a264d9becddcd68e2cc8d7241325f2ad1050a741f9160f8e0c2 3edd6765fd58df711305ff0689e9dbdd0eacc524cc63163246b985486f72b5a3 e8c2ee0e542ee1db224891c5db7dba6739ddae48a58b9d2ab2f08cb1c0c7a55b b110d3a334dcf6f0d76db16051d8e92df1112234025fec44b4ba68e411d472de [immich-machine-learning] | Error: unable to start container 64117c6e48404a264d9becddcd68e2cc8d7241325f2ad1050a741f9160f8e0c2: netavark: IO error: Error while applying dns entries: IO error: aardvark-dns failed to start: Error from child process [immich-machine-learning] | Error starting server failed to bind udp listener on 10.89.5.1:53: IO error: Address already in use (os error 98) [database] | [WARN netavark::dns::aardvark] Failed to delete aardvark-dns entries after failed start: IO error: aardvark-dns failed to start: Error from child process [database] | Error: unable to start container e8c2ee0e542ee1db224891c5db7dba6739ddae48a58b9d2ab2f08cb1c0c7a55b: netavark: IO error: Error while applying dns entries: IO error: aardvark-dns failed to start: Error from child process [database] | Error starting server failed to bind udp listener on 10.89.5.1:53: IO error: Address already in use (os error 98) [redis] | Error: unable to start container 3edd6765fd58df711305ff0689e9dbdd0eacc524cc63163246b985486f72b5a3: netavark: IO error: Error while applying dns entries: IO error: aardvark-dns failed to start: Error from child process [redis] | Error starting server failed to bind udp listener on 10.89.5.1:53: IO error: Address already in use (os error 98) ``` The images got downloaded properly, and I can see this error about `aardvark-dns`. Before doing a lot of changes, I would like to report it, once I believe more people will face a similar issue when trying to follow the steps, to deploy it via podman. ### The OS that Immich Server is running on RHEL9.5 ### Version of Immich Server release ### Version of Immich Mobile App not installed via mobile yet ### Platform with the issue - [ ] Server - [ ] Web - [ ] Mobile ### Your docker-compose.yml content ```YAML # cat docker-compose.yml # # WARNING: To install Immich, follow our guide: https://immich.app/docs/install/docker-compose # # Make sure to use the docker-compose.yml of the current release: # # https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml # # The compose file on main may not be compatible with the latest release. name: immich services: 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 transcoding volumes: # Do not edit the next line. If you want to change the media storage location on your system, edit the value of UPLOAD_LOCATION in the .env file - ${UPLOAD_LOCATION}:/usr/src/app/upload - /etc/localtime:/etc/localtime:ro env_file: - .env ports: - '2283:2283' depends_on: - redis - database restart: always healthcheck: disable: false immich-machine-learning: container_name: immich_machine_learning # For hardware acceleration, add one of -[armnn, cuda, rocm, openvino, rknn] to the image tag. # Example tag: ${IMMICH_VERSION:-release}-cuda image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release} # extends: # uncomment this section for hardware acceleration - see https://immich.app/docs/features/ml-hardware-acceleration # file: hwaccel.ml.yml # service: cpu # set to one of [armnn, cuda, rocm, openvino, openvino-wsl, rknn] for accelerated inference - use the `-wsl` version for WSL2 where applicable volumes: - model-cache:/cache env_file: - .env restart: always healthcheck: disable: false redis: container_name: immich_redis image: docker.io/valkey/valkey:8-bookworm@sha256:facc1d2c3462975c34e10fccb167bfa92b0e0dbd992fc282c29a61c3243afb11 healthcheck: test: redis-cli ping || exit 1 restart: always database: container_name: immich_postgres image: ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0@sha256:5f6a838e4e44c8e0e019d0ebfe3ee8952b69afc2809b2c25f7b0119641978e91 environment: POSTGRES_PASSWORD: ${DB_PASSWORD} POSTGRES_USER: ${DB_USERNAME} POSTGRES_DB: ${DB_DATABASE_NAME} POSTGRES_INITDB_ARGS: '--data-checksums' # Uncomment the DB_STORAGE_TYPE: 'HDD' var if your database isn't stored on SSDs # DB_STORAGE_TYPE: 'HDD' volumes: # Do not edit the next line. If you want to change the database storage location on your system, edit the value of DB_DATA_LOCATION in the .env file - ${DB_DATA_LOCATION}:/var/lib/postgresql/data shm_size: 128mb restart: always volumes: model-cache: ``` ### Your .env content ```Shell # cat .env # You can find documentation for all the supported env variables at https://immich.app/docs/install/environment-variables # The location where your uploaded files are stored UPLOAD_LOCATION=./library # The location where your database files are stored. Network shares are not supported for the database DB_DATA_LOCATION=./postgres # To set a timezone, uncomment the next line and change Etc/UTC to a TZ identifier from this list: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List # TZ=Etc/UTC # The Immich version to use. You can pin this to a specific version like "v1.71.0" IMMICH_VERSION=release # Connection secret for postgres. You should change it to a random password # Please use only the characters `A-Za-z0-9`, without special characters or spaces DB_PASSWORD=postgres # The values below this line do not need to be changed ################################################################################### DB_USERNAME=postgres DB_DATABASE_NAME=immich ``` ### Reproduction steps 1. install podman 2. install podman-compose from epel 3. follow the steps in immich docs to create a local directory, download the files, and execute `podman compose up` Ps.: I'm running without -d on purpose, once it's not working as expected. ### Relevant log output ```shell # podman compose up >>>> Executing external compose provider "/usr/bin/podman-compose". Please see podman-compose(1) for how to disable this message. <<<< 93e160ca492381bd35f4976a4e808be9a30187e1674f21c4001724cbc3324f53 64117c6e48404a264d9becddcd68e2cc8d7241325f2ad1050a741f9160f8e0c2 3edd6765fd58df711305ff0689e9dbdd0eacc524cc63163246b985486f72b5a3 e8c2ee0e542ee1db224891c5db7dba6739ddae48a58b9d2ab2f08cb1c0c7a55b b110d3a334dcf6f0d76db16051d8e92df1112234025fec44b4ba68e411d472de [immich-machine-learning] | Error: unable to start container 64117c6e48404a264d9becddcd68e2cc8d7241325f2ad1050a741f9160f8e0c2: netavark: IO error: Error while applying dns entries: IO error: aardvark-dns failed to start: Error from child process [immich-machine-learning] | Error starting server failed to bind udp listener on 10.89.5.1:53: IO error: Address already in use (os error 98) [database] | [WARN netavark::dns::aardvark] Failed to delete aardvark-dns entries after failed start: IO error: aardvark-dns failed to start: Error from child process [database] | Error: unable to start container e8c2ee0e542ee1db224891c5db7dba6739ddae48a58b9d2ab2f08cb1c0c7a55b: netavark: IO error: Error while applying dns entries: IO error: aardvark-dns failed to start: Error from child process [database] | Error starting server failed to bind udp listener on 10.89.5.1:53: IO error: Address already in use (os error 98) [redis] | Error: unable to start container 3edd6765fd58df711305ff0689e9dbdd0eacc524cc63163246b985486f72b5a3: netavark: IO error: Error while applying dns entries: IO error: aardvark-dns failed to start: Error from child process [redis] | Error starting server failed to bind udp listener on 10.89.5.1:53: IO error: Address already in use (os error 98) ``` ### Additional information _No response_
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#6561