docker pull selenium/standalone-chrome:latest docker run -d -p 4444:4444 --shm-size="2g" selenium/standalone-chrome Use code with caution.
If you are building your own application (e.g., a Node.js or Python scraper), you can download and install Chrome directly into your image. selenium/standalone-chrome - Docker Image download chrome docker
Use the official Selenium Standalone Chrome image. Note: Always use --shm-size="2g" to prevent browser crashes
Browserless provides specialized images optimized for high-performance automation. 2. Manual Installation in a Custom Dockerfile a Node.js or Python scraper)
Use the LinuxServer.io Chrome image, which allows you to access a full Chrome desktop via your web browser.
Note: Always use --shm-size="2g" to prevent browser crashes caused by Docker's default small shared memory.
The easiest way to get Chrome running in a container is to use a community-maintained image. These often include essential configurations like VNC for visual access or headless mode for automation.