3 ms·
> it makes permissions on volumes difficult Yeah much easier to run everything as root. Also, we don't need /etc/password and stuff for UID/GID resolution and
by tannhaeuser 7y ago
> it makes permissions on volumes difficult
Yeah much easier to run everything as root. Also, we don't need /etc/password and stuff for UID/GID resolution and credentials in the container anyway; we just use ad-hoc auth and crypto from a random third-party lib (that isn't vetted, is never updated, runs in the same address space as your app, and hasn't access to meaningful entropy since running in a container) and supply root credentials on the docker command line or the Dockerfile checked in to github, or both.
That's what we've been saying for years: Docker doesn't solve anything, it merely hides problems from you (and helps your cloud provider's bottom line). Good luck, and yes, PHBs should be worried for civil/criminal gross negligence if the shit hits the fan. Your cloud provider is happy to take your checks, but will shrug-away and point out they're just providing the infrastructure; it's up to you to competently configure your ever-changing 12-factor k8s.
- jcranmer 7y ago> hasn't access to meaningful entropy since running in a container getrandom(2)/getentropy(3) should be using kernel randomness generation, which isn't affected by containers I thought.
- eythian 7y agoThat some things are a more complicated doesn't lead to "doesn't solve anything." It solves many things. If they're not things you need solved then fine, but you can't deny that for many workflows it is actually useful.