![]() |
|
How to Docker Install Chromium-Browser with Version? Need Help! or Best Way to Docker Install Chromiu - Printable Version +- Proxy Community (https://proxycommunity.com/forum) +-- Forum: Tutorials and Setup Guides (https://proxycommunity.com/forum/forum-tutorials-and-setup-guides) +--- Forum: Browser Setup (Chrome/Firefox/Safari) (https://proxycommunity.com/forum/forum-browser-setup-chrome-firefox-safari) +--- Thread: How to Docker Install Chromium-Browser with Version? Need Help! or Best Way to Docker Install Chromiu (/thread-how-to-docker-install-chromium-browser-with-version-need-help-or-best-way-to-docker-install-chromiu) Pages:
1
2
|
How to Docker Install Chromium-Browser with Version? Need Help! or Best Way to Docker Install Chromiu - ghostlySurfer99 - 12-02-2024 "Best Way to Docker Install Chromium-Browser with Version – Any Tips?" Hey folks! Trying to docker install chromium-browser with version, but hitting some snags. Need it for a project, and I wanna make sure I’m pulling the right version (like, say, 115.0 or whatever). Anyone got a clean way to do this? Dockerfiles, commands, or even a pre-built image? Also, is there a trick to keep it lightweight? Don’t need all the extra bloat. Thanks in advance! 🙌 --- *or* "Struggling to Docker Install Chromium-Browser with Version – Any Guidance?" yo, so i’m stuck trying to docker install chromium-browser with version. like, i just need v120.0 or something specific, but pulling the default image gives me whatever’s latest. anyone know how to pin the version properly? docker noob here, so pls be gentle lol. cheers! 🍻 “” - shadowSeeker77 - 15-10-2024 Hey! I had the same issue last week. The trick is to use the official Chromium Docker image with a specific tag. For example, if you want version 115.0, you can pull it like this: `docker pull chromium/chromium:115.0` Also, check out Docker Hub for Chromium tags. It’s a lifesaver for pinning versions. For lightweight, use `--no-sandbox` and strip unnecessary packages in your Dockerfile. Hope this helps! “” - HiddenWarriorX - 23-10-2024 yo, docker install chromium-browser with version is easier than u think. just grab the version u want from the debian repo and slap it in a Dockerfile. ``` FROM debian table-slim RUN apt-get update && apt-get install -y chromium-browser=115.0.5790.98-1~deb11u1 ``` boom. done. ps: debian versions are a bit behind tho, so if u need latest, go for the official image. “” - StealthShroudX - 17-12-2024 If you’re looking for a pre-built solution, check out the `selenium/standalone-chrome` images. They’re super handy and versioned. For example: `docker pull selenium/standalone-chrome:120.0` They’re not pure Chromium, but close enough for most use cases. Plus, they’re optimized for headless stuff. “” - shadowHawkX - 07-02-2025 Dude, just use the `zenika/alpine-chrome` image. It’s lightweight AF and you can specify versions. ``` FROM zenika/alpine-chrome:with-node ENV CHROME_VERSION=115.0 ``` Alpine base keeps it small, and it’s got all the flags pre-set for running in Docker. “” - anonyDrifter99 - 08-02-2025 Pro tip: Avoid the default Chromium images if you need specific versions. Instead, build from source in your Dockerfile. ``` FROM ubuntu:20.04 RUN apt-get update && apt-get install -y wget RUN wget https://download-chromium.appspot.com/dl/Linux_x64?type=snapshots -O chrome-linux.zip ``` This lets you grab exact builds, but it’s a bit more work. “” - fastPhantom88 - 03-03-2025 lol i feel u. docker install chromium-browser with version is a pain. i ended up using this Dockerfile: ``` FROM ubuntu:latest RUN apt-get update && apt-get install -y chromium-browser ENV CHROMIUM_VERSION=120.0 ``` not perfect, but it works. also, check out `chromedriver` if u need automation. “” - ghostlySurfer99 - 16-03-2025 Wow, thanks for all the replies! Didn’t expect so many options. Tried the `zenika/alpine-chrome` one and it worked like a charm. Super lightweight too. Quick q: Anyone know how to handle GPU acceleration in Docker with Chromium? Or is that a lost cause? Cheers! 🚀 “” - hiddenStorm99 - 18-03-2025 For a super lightweight option, try the `alpine` base with Chromium. Here’s a snippet: ``` FROM alpine:edge RUN apk add --no-cache chromium ``` You can pin the version with `chromium=115.0-r0` or whatever’s in the repo. Alpine keeps it under 200MB, which is nice. “” - DeepCircuit77 - 20-03-2025 If you’re okay with unofficial images, `browserless/chrome` is solid. They version their builds and keep ’em updated. Just run: `docker pull browserless/chrome:120.0` They also have docs on how to tweak flags for minimal bloat. |