Y
Hacker News
new
|
ask
|
show
|
jobs
by
brigandish
2068 days ago
Why not use gosu or su-exec to run the entrypoint command? That's straightforward.
1 comments
otterley
2067 days ago
Better to never have root privileges anywhere in the container. Entry points can be overridden and never running as root at all greatly reduces the attack surface.
link