docker-gen
docker-gen copied to clipboard
Change user permission of generated content
I know Docker loves root ;-) But, is it possible to configure the owner of generated template?
It's not a big issue because it's possible to change owner with notifycmd option, but I think this should be an important option to secure the usage.
Thanks you,
Are you running docker-gen as root?
yes, I follow the example on README:
-v /var/run/docker.sock:/tmp/docker.sock:ro
Is owned by root, can as ReadOnly, cannot change ownership.