mageddo / dns-proxy-server

Solve your DNS hosts from your docker containers, then from your local configuration, then from internet
http://mageddo.github.io/dns-proxy-server/
Apache License 2.0
766 stars 76 forks source link

Help/Version Command Not Working Properly #471

Closed mageddo closed 1 month ago

mageddo commented 1 month ago

What is Happening

--version and --help command doesn't executing properly, DPS is not being terminated after execute.

$ docker run --rm defreitas/dns-proxy-server:3.19.2-snapshot --version
3.19.2-snapshot11:28:16.019 [main           ] INF c.m.dnsproxyserver.config.dataprovider.JsonConfigsl=75   m=createDefault                   status=createdDefaultConfigFile, path=/app/conf/config.json
11:28:16.020 [main           ] DEB c.m.d.config.dataprovider.ConfigDAOJson           l=39   m=find                            configPath=/app/conf/config.json
....

What is Expected

Execute the command and exit the program right after.

Specs