Updated resolvconf call in entrypoint.sh to fix dns inside container (#1081)

* removed resolvconf call from entrypoint.sh to fix dns inside container

* Revert "removed resolvconf call from entrypoint.sh to fix dns inside container"

This reverts commit 428908ff84.

* Added resolvconf -a to save initial DNS configuration
pull/1183/head
Ivan Prokudin 2026-03-31 22:58:47 +03:00 committed by GitHub
parent 9f140c8747
commit 978946a9b8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -220,7 +220,9 @@ start_and_monitor() {
${WGDASH}/src/venv/bin/gunicorn --config ${WGDASH}/src/gunicorn.conf.py
cp /etc/resolv.conf /etc/resolv.conf.docker
/usr/sbin/resolvconf -u
cat /etc/resolv.conf.docker | resolvconf -a docker.inet
if [ $? -ne 0 ]; then
echo "Loading WGDashboard failed... Look above for details."