Bind /etc/passwd and /etc/group to the container

Fixes #7
This commit is contained in:
Kron4ek 2021-03-29 18:33:43 +05:00 committed by GitHub
parent 7df770fd38
commit 8c4e89430b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -172,6 +172,8 @@ run_bwrap () {
--ro-bind-try /etc/resolv.conf /etc/resolv.conf \
--ro-bind-try /etc/hosts /etc/hosts \
--ro-bind-try /etc/nsswitch.conf /etc/nsswitch.conf \
--ro-bind-try /etc/passwd /etc/passwd \
--ro-bind-try /etc/group /etc/group \
--proc /proc \
--ro-bind-try /usr/local /usr/local \
${dirs} ${net} \