Disable SE Linux when running the client on container
This commit is contained in:
parent
934513df80
commit
251c937b7e
6
run.sh
6
run.sh
|
@ -1,7 +1,13 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
SE_enforcing=`getenforce` || true
|
||||||
|
|
||||||
|
sudo setenforce Permissive || true
|
||||||
|
|
||||||
docker run -ti --rm \
|
docker run -ti --rm \
|
||||||
-e DISPLAY \
|
-e DISPLAY \
|
||||||
-v /tmp/.X11-unix:/tmp/.X11-unix \
|
-v /tmp/.X11-unix:/tmp/.X11-unix \
|
||||||
--device /dev/dri \
|
--device /dev/dri \
|
||||||
edubart/otclient
|
edubart/otclient
|
||||||
|
|
||||||
|
sudo setenforce $SE_enforcing || true
|
||||||
|
|
Loading…
Reference in New Issue