Skip to content

Commit

Permalink
docker: add doc
Browse files Browse the repository at this point in the history
  • Loading branch information
EugeneOne1 committed Mar 31, 2023
1 parent 52a0b67 commit 5aa7aa4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,12 @@ HEALTHCHECK \
--retries=3 \
CMD [ "/opt/adguardhome/scripts/healthcheck.sh" ]

# It seems that the healthckech script sometimes spawns zombie processes, so we
# need a way to handle them, since AdGuard Home doesn't know how to keep track
# of the processes delegated to it by the OS. Use tini as entry point because
# it needs the PID=1 to be the default parent for orphaned processes.
#
# See https://github.com/adguardTeam/adGuardHome/issues/3290.
ENTRYPOINT [ "/sbin/tini", "--" ]

CMD [ \
Expand Down

0 comments on commit 5aa7aa4

Please sign in to comment.