Giter VIP home page Giter VIP logo

uc-docker's Introduction

This is an example of how to run an undetected chromedriver inside a Docker container with GUI.

This image uses Ubuntu as the base image This image uses x86 .deb package for installing Chrome and it can't be built on ARM or Apple Silicon docker hub host. Image size about 1.7Gb

How to run:

  1. clone the repository
  2. build the image: docker compose build
  3. run: docker compose up

Links:

  1. Alpine Linux based image: https://github.com/Hudrolax/uc-docker-alpine

uc-docker's People

Contributors

hudrolax avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

uc-docker's Issues

FileNotFound Error

Hello,

i tried to apply the Docker Container for my Script which works locally on my PC.

options = uc.ChromeOptions()
options.add_argument('--disable-gpu')
options.add_argument('--no-sandbox')
options.add_argument('--referer=https://rocketleague.tracker.network/')
driver = uc.Chrome(options=options)

I initialize the Driver like this.
But when the Script proceeds i get a Error:

chrome-1 | FileNotFoundError: [Errno 2] No such file or directory: '/root/.loca l/share/undetected_chromedriver/undetected/chromedriver-linux64/chromedriver' -> '/root/.local/share/undetected_chromedriver/undetected_chromedriver'

Any Idee why?

vncviewer too slow

Hi,

When I start the docker container and try to use vncviewer to connect to localhost:5900, it takes a long time to connect to the x11vnc server. Any hints on why this could be? Is it possible to make it faster?

without internet

你好,我现在有一个实际的业务场景,需要在没有互联网的情况下,运行该docker容器。
在我测试后,基于当前github项目,必须依赖于互联网才能初始化容器。
请问能否有办法让我在不使用互联网的情况下运行该docker容器。

Hello, I have a practical business scenario where I need to run a Docker container without internet access.
After testing, I found that based on the current GitHub project, it is necessary to rely on the internet to initialize the container.
Is there a way for me to run this Docker container without using the internet?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.