Using nsswrapper is no longer the recommended method. The preferred suggestion now is to make /etc/passwd and /etc/group writable and add entries from the ENTRYPOINT script.
See section 'Support Arbitrary User IDs`` in:
For an actual example, which also includes updating /etc/group which sometimes is also necessary but docs don't mention, see:
Using nsswrapper is no longer the recommended method. The preferred suggestion now is to make
/etc/passwdand/etc/groupwritable and add entries from theENTRYPOINTscript.See section 'Support Arbitrary User IDs`` in:
For an actual example, which also includes updating
/etc/groupwhich sometimes is also necessary but docs don't mention, see: