Dockerize the selenium and chromedriver
139
將Selenium以及webdriver打包進docker image裡
目前個人用於爬蟲用吧。。。
Chrome不能在使用者為root時啟動
必須在啟動選項添加 --no-sandbox
或是直接添加一個non root的user
使用這個user啟用
需要自行安裝selenium套件
Chrome: 84.0.4147.105
Chromedriver: 84.0.4147.30
Node.js: 14.7.0
Npm: 6.14.7
Python: 3.8.2-1ubuntu1.2
Python3-pip: 20.0.2-5ubuntu1
Content type
Image
Digest
Size
311.7 MB
Last updated
about 6 years ago
docker pull poynt2005/selenium-docker:nodejs