-
-
Notifications
You must be signed in to change notification settings - Fork 354
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to launch chromium in debian:bullseye-slim docker container #912
Comments
Please provide reproducible code. |
Please check this: https://go-rod.github.io/#/compatibility?id=os |
i did refer to the link provided, and have included the instructions to install chrome, this is my updated docker file: docker image is built using the command: But still facing the same error: Same has been updated in the sample project: System ChipSet: Apple M1 PRO |
Please fix the format of your markdown: 12:1 MD033/no-inline-html Inline HTML [Element: img]
15:1 MD033/no-inline-html Inline HTML [Element: img]
21:1 MD033/no-inline-html Inline HTML [Element: img] generated by check-issue |
Please read: https://go-rod.github.io/#/custom-launch?id=the-launcher-lib func main() {
path, _ := launcher.LookPath()
u := launcher.New().Bin(path).MustLaunch()
rod.New().ControlURL(u).MustConnect().MustPage("https://example.com")
} |
Why not just run the chromium on your container without rod? I think it doesn't matter you use rod or not. As the link I sent to you in previous comment:
|
Does it mean, instead of installing a google-chrome stable, just install chromium & chromium-browser in docker container? |
It means you have to make sure chrome works on your OS, not rod. |
This issue stands resolved, Thanks @ysmood for your inputs..
|
Rod Version: v0.114.1
Am trying to launch chromium in docker container, have used a dockerFile to download the dependency:
partial content of DockerFile:
RUN wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
RUN apt -y install ./google-chrome-stable_current_amd64.deb
RUN apt -y install chromium
Code snippet to get binary
But i get an error as below
But the same test when triggered locally works perfectly fine, kindly guide me if thrs any configs that am missing here?
Code to launch chromium:
The text was updated successfully, but these errors were encountered: