It should technically do that already, but as extra insurance I'm running it with the -u bind flag in ENTRYPOINT. The problem was solved with a chmod 755
The problem was with the chmod, I changed it to include execute permissions for the user (764) and it worked. I'm also running named with a -u bind flag in "ENTRYPOINT" for insurance.
I guess. LocalMonero was an online account