= - =
= - =
我也想知道有哪些支持的
this is my `docker-compose.yml` and `Dockerfile`
add argument `--disable-dev-shm-usage` can solve need `shm_size: 2g` problem
https://blog.csdn.net/qq_39101111/article/details/78726927 ``` ps aux | grep `cat /tmp/.X1-lock` ```
when i run command: `rm /tmp/.X1-lock` will be see ``` (EE) Cannot establish any listening sockets - Make sure an X server isn't already running(EE) _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed _XSERVTransMakeAllCOTSServerListeners: server...
xvfb-run Xvfb when i search in google, found those tow command. but doesn't known how to use it.
when see dockerfile: https://hub.docker.com/layers/ultrafunk/undetected-chromedriver/latest/images/sha256-d867b57e7bd5a8de0b3d1e58a7d3f1775cb81fbe556d701d9568aca2c16718cb?context=explore i found this config `xrdp.ini` in `/etc/xrdp/xrdp.ini` ``` [Globals] ; xrdp.ini file version number ini_version=1 ; fork a new process for each incoming connection fork=true ;...
and found `demo.py` `/demo.py` ``` #!/usr/bin/python3 import logging import subprocess import time import undetected_chromedriver as uc logging.basicConfig(level=10) logging.getLogger("parso").setLevel(100) # i hate damn parso #o = uc.ChromeOptions() #o.arguments.extend(["--no-sandbox", "--disable-setuid-sandbox"]) # these...
this problem is solved, `RUN sed -i 's/pidof Xvfb/pgrep -f Xvfb/g' /entrypoint.sh`
  