docker-bind9
docker-bind9 copied to clipboard
User Option in Entrypoint
Is there any reason why the user needs to be specified in the entrypoint? I could not get this running in Docker Desktop without overriding, dropping the -u
flag, and running named as root inside the container.
No, there's no specific reason. I just didn't want the process to run as root.
But I can switch and use USER and ARG. Ex :
ARG user=named
USER ${user}