miniflux / v2

Minimalist and opinionated feed reader
https://miniflux.app
Apache License 2.0
6.97k stars 728 forks source link

Docker installation failed #2797

Closed tonywang1201 closed 3 months ago

tonywang1201 commented 3 months ago

I tried to install miniflux with docker on a machine running Unraid and docker. But the docker container cannot start. As I found in the log, it says: dial tcp: lookup Hostname on 192.168.2.1:53: no such host

The container is a template in the community application store maintained by A75G:

docker run
  -d
  --name='miniflux'
  --net='bridge'
  -e TZ="Asia/Shanghai"
  -e HOST_OS="Unraid"
  -e HOST_HOSTNAME="R730"
  -e HOST_CONTAINERNAME="miniflux"
  -e 'DATABASE_URL'='postgres://miniflux:secret@Hostname/miniflux2?sslmode=disable'
  -e 'ADMIN_USERNAME'='admin'
  -e 'ADMIN_PASSWORD'='xxxxx'
  -e 'BASE_URL'='http://192.168.2.188:5600'
  -e 'POLLING_FREQUENCY'='60'
  -e 'CLEANUP_FREQUENCY_HOURS'='24'
  -e 'CLEANUP_ARCHIVE_READ_DAYS'='60'
  -e 'CLEANUP_REMOVE_SESSIONS_DAYS'='30'
  -e 'CREATE_ADMIN'='1'
  -e 'RUN_MIGRATIONS'='1'
  -e 'LOG_DATE_TIME'='0'
  -l net.unraid.docker.managed=dockerman
  -l net.unraid.docker.webui='http://[IP]:[PORT:8080]/'
  -l net.unraid.docker.icon='https://raw.githubusercontent.com/A75G/docker-templates/master/templates/icons/miniflux.png'
  -p '5600:5600/tcp' 'miniflux/miniflux:latest'

Are there anything wrong with the container setting or it is just because of the DNS setting of the router (I am using OpenWRT)