imagegenius/docker-immich

No longer able to run alongside AdGuard Home DNS container (was previously)

Opened this issue · 2 comments

Unfortunately I do not have an exact time frame for these events as I do not run immich 24/7.

I am using Podman/Podman-compose on Arch, along with Cockpit for web management, and I have an AdGuard Home DNS pod running 24/7 as my primary dns server for every device on my network.

Previously I was able to use the provided compose file along with sudo podman compose up -d to create and update the immich pod group without issues, but recently I have not been able to start it at all due to some aardvark-dns binding issues within the immich container.

This is the specific error I get for each of the 3 pods, immich, redis, postgres
Log on pod group creation

λ sudo podman compose up -d
2a4707012cff35e0bc0894619070bd3777f6fbac3056986cb0646fb2d31ee79f
Trying to pull ghcr.io/imagegenius/immich:latest...
Getting image source signatures
Copying blob a00a647a03d5 done   |
Copying blob df25a931801a done   |
Copying blob 28539618979f done   |
Copying blob 1b4770dccd8d done   |
Copying blob b9e59166426e done   |
Copying blob 1ba2492cd096 done   |
Copying blob d6f421080819 done   |
Copying blob 48e41ea7b3cb done   |
Copying blob 1cfd74e19b97 done   |
Copying blob f806529c3d1c done   |
Copying blob 9af34b41a23d done   |
Copying config 4b1405f9ad done   |
Writing manifest to image destination
Error: netavark: IO error: Error while applying dns entries: IO error: aardvark-dns failed to start: Error from child process
Error starting server failed to bind udp listener on 10.89.10.1:53: IO error: Address already in use (os error 98)
Error: unable to start container "48ea799ef1f199480cc7b29a555446d092d5aea85a95971e015eaa2c4e541875": netavark: IO error: Error while applying dns entries: IO error: aardvark-dns failed to start: Error from child process
Error starting server failed to bind udp listener on 10.89.10.1:53: IO error: Address already in use (os error 98)
Resolving "redis" using unqualified-search registries (/etc/containers/registries.conf)
Trying to pull docker.io/library/redis:latest...
Getting image source signatures
Copying blob b0967b02e8cf done   |
Copying blob d65aedb2f012 done   |
Copying blob d1dde3db2ec5 done   |
Copying blob e4fff0779e6d done   |
Copying blob 1d321a003dde done   |
Copying blob 4018f93716a2 done   |
Copying blob 4f4fb700ef54 skipped: already exists
Copying blob d288b86f5d06 done   |
Copying config dae83f665c done   |
Writing manifest to image destination
Error: netavark: IO error: Error while applying dns entries: IO error: aardvark-dns failed to start: Error from child process
Error starting server failed to bind udp listener on 10.89.10.1:53: IO error: Address already in use (os error 98)
Error: unable to start container "362392e6ff3d5e53e6845be4fe5ffc0c5b3fd762e031b061de31475283b0a398": netavark: IO error: Error while applying dns entries: IO error: aardvark-dns failed to start: Error from child process
Error starting server failed to bind udp listener on 10.89.10.1:53: IO error: Address already in use (os error 98)
Resolving "tensorchord/pgvecto-rs" using unqualified-search registries (/etc/containers/registries.conf)
Trying to pull docker.io/tensorchord/pgvecto-rs:pg14-v0.2.0...
Getting image source signatures
Copying blob 123a55cee189 done   |
Copying blob ec1126f7a9f6 done   |
Copying blob c57ee5000d61 done   |
Copying blob b6688a8d81af done   |
Copying blob 488633c8ea56 done   |
Copying blob 073099a4d6f5 done   |
Copying blob 510930354b87 done   |
Copying blob bd2705304f5a done   |
Copying blob 45211a234e51 done   |
Copying blob 7bcd1ca95189 done   |
Copying blob 2f8c2684013a done   |
Copying blob 4b61c3e3b567 done   |
Copying blob e4fc4fc541b7 done   |
Copying blob bd4bb07f416b done   |
Copying blob dfe10326acea done   |
Copying blob d1114f29acd6 done   |
Copying config 2e2cb40c55 done   |
Writing manifest to image destination
Error: netavark: IO error: Error while applying dns entries: IO error: aardvark-dns failed to start: Error from child processError starting server failed to bind udp listener on 10.89.10.1:53: IO error: Address already in use (os error 98)
Error: unable to start container "90fd5c1bb4c6f24a2cd822f42375a84b4b5450b5c4167d8564ccaa75deab0743": netavark: IO error: Error while applying dns entries: IO error: aardvark-dns failed to start: Error from child process
Error starting server failed to bind udp listener on 10.89.10.1:53: IO error: Address already in use (os error 98)

Log on pod group start

Error: netavark: IO error: Error while applying dns entries: IO error: aardvark-dns failed to start: Error from child process
Error starting server failed to bind udp listener on 10.89.10.1:53: IO error: Address already in use (os error 98)
Error: unable to start container "e4927ae12273b6fdf6f5361e6ea209576740005f7f1e7cbef52b0b8a4970fef7": netavark: IO error: Error while applying dns entries: IO error: aardvark-dns failed to start: Error from child process
Error starting server failed to bind udp listener on 10.89.10.1:53: IO error: Address already in use (os error 98)

As stated, I was previously able to use the container without issues before, but some change, roughly within the last month, has made it no longer start. I probably need to provide more information, just let me know.

Hey, sorry for the late response. I'm not familiar with podman, but this sounds like an issue with your config (probably related to networking?)

Hey, sorry for the late. I'm not familiar with podman, but this sounds like an issue with your config (probably related to networking?)

My networking configuration hasn't changed in the time between it was working and now.