Ddclient - question about warning in logs

Hi there,

It looks like everything is working fine but I noticed some warning in my docker logs related to ddclient. Is it something which I should take care of? Should I change permissions?

Docker compose:

ddclient:
    image: lscr.io/linuxserver/ddclient:latest
    container_name: ddclient
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/Warsaw
    volumes:
      - /home/rockwatch/ddclient/config:/config
    restart: unless-stopped

Logs:

ddclient                 | WARNING:  Cannot create file '/var/run/ddclient.pid'. (Permission denied)
ddclient                 | WARNING:  file /var/cache/ddclient/ddclient.cache, line 3: Invalid Value for keyword 'ip' = ''

Thanks!

First warning looks like ddclient is being run as “you” (grep 1000:1000 /etc/passwd), and you don’t have permissions to write to /var/run. Not sure how to fix, but this might help figure out why the UID/GID are set to your user and if that’s correct or not. More often than not, services are run by a non-login user, typically named after the service. Take a look in the /etc/passwd file and see if there’s a ddclient user there, if so, it’s probable that its UID and GID should be in your Docker file.

Nothing I can add for the second one, never used ddclient.