Open chrisamow opened 3 years ago
Hi,
great to hear that the image works for you :-)
What line did you have to remove? the find ... -exec chmod ...
?
That should only be required when starting brave without --no-sandbox
.
See build output:
mode of '/opt/brave.com/brave/chrome-sandbox' changed from 4755 (rwsr-xr-x) to 0755 (rwxr-xr-x)
Using --no-sandbox
is safe here because docker
/ podman
already isolates the process (does the sandboxing)
Regarding the logs:
All errors related to bus.cc
/ dbus can safely be ignored.
Apparently brave is trying to connect to same other processes via dbus.
I am not sure about the graphics warnings though. I get:
libGL error: MESA-LOADER: failed to retrieve device information
libGL error: Version 4 or later of flush extension not found
libGL error: failed to load driver: i915
libGL error: failed to open drm device: No such file or directory
libGL error: failed to load driver: i965
[...]
[35:35:0413/061959.648146:ERROR:viz_main_impl.cc(150)] Exiting GPU process due to errors during initialization
Do you have an idea how we could fix those?
No, it was actually line 32 in the docker-compose.yml file. It would be nice to supress that warning dialog but it doesnt seem like there's an obvious way...
Not sure about the graphics warning either... I do notice that the fonts seem not quite right - have you seen that?
No, it was actually line 32 in the docker-compose.yml file.
Oh that's surprising. What error did you get?
I do notice that the fonts seem not quite right - have you seen that?
I think a font package was missing. Added it here: https://github.com/fphammerle/docker-brave-browser/commit/30fccb7fc1cd09e302db400466dcb4a66421f384 Could you retry on the current master?
ERROR: The Compose file './docker-compose.yml' is invalid because:
services.browser.volumes contains unsupported option: 'mode'
the font still doesn't quite seem right... look at "java - Chrome" - top is normal brave, bottom is docker brave
ERROR: The Compose file './docker-compose.yml' is invalid because: services.browser.volumes contains unsupported option: 'mode'
oh, that's surprising
what versions of docker-compose
and docker
are you using?
I use:
$ docker-compose --version
docker-compose version 1.25.0, build unknown
$ dockerd --version
Docker version 19.03.13, build 4484c46
the font still doesn't quite seem right... look at "java - Chrome" - top is normal brave, bottom is docker brave
I pushed a commit exchanging the font package.
Could you retry on master
?
Hi Peter - thanks for this image, it's just what I was hoping for!
I had to remove the line 32: mode: '1777' to get it to work.
And the brave does come up - but it has the warning "You are using an unsupported command-line flag: --no-sandbox. Stability and security will suffer."
And this is the docker output - some dbus, display and disk errors - kind of alarming looking :) but I didn't see the effect in the browser...