2 ms·
I do not use SEL, but on regular Ubuntu the below works perfectly with respect to permissions: #!/bin/bash docker run \ --rm \ --ne
by zarkov99 6y ago
I do not use SEL, but on regular Ubuntu the below works perfectly with respect to permissions:
#!/bin/bash
docker run \
--rm \
--net host \
-i \
-v /etc/passwd:/etc/passwd \
-v /etc/group:/etc/group \
-v /usr/local/share/fonts:/usr/local/share/fonts \
-v /usr/share/fonts:/usr/share/fonts \
-v /run/user/:/run/user/ \
-v /tmp:/tmp \
-v /home:/home \
-u $UID \
-e DISPLAY=$DISPLAY \
-t container \
/bin/bash