From 68ac0c42ce0f8514d8e88e8e37ab9724e0a38604 Mon Sep 17 00:00:00 2001 From: analogue Date: Sun, 12 Jul 2020 09:56:22 -0500 Subject: [PATCH] Workaround crashing when run by default as root user --- docker/Emulator_x86 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docker/Emulator_x86 b/docker/Emulator_x86 index 27ac3b4..331f5ba 100644 --- a/docker/Emulator_x86 +++ b/docker/Emulator_x86 @@ -171,6 +171,13 @@ ADD src/.fehbg /root/.fehbg ADD src/rc.xml /etc/xdg/openbox/rc.xml RUN echo /root/.fehbg >> /etc/xdg/openbox/autostart +#====================== +# Workarounds +#====================== +# Fix emulator from crashing when running as root user. +# See https://github.com/budtmo/docker-android/issues/223 +ENV QTWEBENGINE_DISABLE_SANDBOX=1 + #=============== # Expose Ports #---------------