top | item 30631506

(no title)

oldsj | 4 years ago

You can pass in the current user’s uid/gid as an environment variable check out linuxserver images for an example https://hub.docker.com/r/linuxserver/unifi-controller

discuss

order

encryptluks2|4 years ago

It is usually better to use --user $(id -u):$(id -g) to do this. You don't really need to pass it as a variable for the most part.

jaimehrubiks|4 years ago

The author needs to add this and then try if everything works as expected (like npm and pip and so on)