3 ms·
OP's version: > UIDs below 10,000 are a security risk on several systems, because if someone does manage to escalate privileges outside the Docker container th
by kubanczyk 6y ago
OP's version:
> UIDs below 10,000 are a security risk on several systems, because if someone does manage to escalate privileges outside the Docker container their Docker container UID may overlap with a more privileged system user's UID granting them additional permissions.
> [...] there may sometimes be reasons to not do what is described here, but if you don't know then this is probably what you should be doing.
Your version:
> Use what you like.
> UID=1000
- sdwolfz 6y agoI should probably also mention this example is for docker images that I use for local development with a shared file mount having the same UID/GID as your host, so you don't have to `chown` all the time while developing.