You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to run a headful Google Chrome inside the docker. I don't want headless Chrome, and I don't want to fake an X Server using Xvfb. I want a real Google Chrome with a GUI that I can interact with.
Then I enter the container using docker exec -it chrome bash and I try to run the chrome using google-chrome --no-sandbox:
I get this error:
node@chrome:~$ google-chrome --no-sandbox
Trace/breakpoint trap (core dumped)
node@chrome:~$ [1002/071410.395354:ERROR:nacl_helper_linux.cc(354)] NaCl helper process running without a sandbox!
Most likely you need to configure your SUID sandbox correctly
Reproduce
1- Create a docker image as above
2- Install Google Chrome on it as above
3- Create a docker-compose file as above
4- Run it
5- Try to run Google Chrome in a headful manner and see it on your local machine
status/0-triagekind/bugBugs are bugs. The cause may or may not be known at triage time so debugging may be needed.
1 participant
Converted from issue
This discussion was converted from issue #46587 on October 04, 2023 13:39.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Description
I am trying to run a headful Google Chrome inside the docker. I don't want
headless
Chrome, and I don't want to fake an X Server usingXvfb
. I want a real Google Chrome with a GUI that I can interact with.This is the custom image I have built:
Based on this custom image which has Google Chrome installed in it, I run this
docker-compose.yml
file:Then I enter the container using
docker exec -it chrome bash
and I try to run the chrome usinggoogle-chrome --no-sandbox
:I get this error:
Reproduce
1- Create a docker image as above
2- Install Google Chrome on it as above
3- Create a docker-compose file as above
4- Run it
5- Try to run Google Chrome in a headful manner and see it on your local machine
Expected behavior
No response
docker version
Client: Docker Engine - Community Version: 24.0.6 API version: 1.43 Go version: go1.20.7 Git commit: ed223bc Built: Mon Sep 4 12:31:44 2023 OS/Arch: linux/amd64 Context: default Server: Docker Engine - Community Engine: Version: 24.0.6 API version: 1.43 (minimum version 1.12) Go version: go1.20.7 Git commit: 1a79695 Built: Mon Sep 4 12:31:44 2023 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.6.24 GitCommit: 61f9fd88f79f081d64d6fa3bb1a0dc71ec870523 runc: Version: 1.1.9 GitCommit: v1.1.9-0-gccaecfc docker-init: Version: 0.19.0 GitCommit: de40ad0
docker info
Additional Info
No response
Beta Was this translation helpful? Give feedback.
All reactions