It is easier for developer but risky for end user. Docker runs as root and you have to trust application developer to use latest security patches for all dependencies.
Simply using the "USER <uid/uname>" directory means you run as non-root user with a specified UID. Kubernetes recommends doing that as a baseline security measure. You can also drop caps from a container so even if you are root inside, you can't do a lot of things root can.
I wish there was a way to say:
because the normal way of using docker makes really really large images.and the efficient use of docker is unreadable and hard to maintain:
thing is - if you do it this way you can hack gigabytes off your image sizesThis is lots harder nowadays over vpn.
I know there's docker squash, but that is a hack on many levels.
Then there's the firewall thing
and last, I'd like to have my own private repository - where docker wont' and can't pull from other machines.