docker create/run supports container process umask
When creating or running a container, set its process umask with `--umask <octal>`; the value applies to the entrypoint and, when honored by the OCI runtime, to `docker exec` processes and healthchecks.
docker run --rm --umask 077 <image> <command> [<arg>...]