docker-bind9 icon indicating copy to clipboard operation
docker-bind9 copied to clipboard

User Option in Entrypoint

Open stephancasas opened this issue 4 years ago • 1 comments

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.

stephancasas avatar May 15 '20 04:05 stephancasas

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}

resyst-it avatar Aug 20 '20 14:08 resyst-it