chazkii / chromewhip

Scriptable Google Chrome™ as a HTTP service + asyncio driver
MIT License
118 stars 16 forks source link

Edit Docker Container for Chrome Instance #15

Open JasonDD opened 4 years ago

JasonDD commented 4 years ago

Hi,.

This is less of an "issue" and more of a "I am seeking advice" :)

I wish to run the ChromeWhip Docker installation on a different machine to the Chrome instance running. I appreciate I will need to change the init script, but as a Docker idiot, am unsure how to do so, and then save it.

I have Chrome Dev Protocol running and able to access it on the machines I want it on, just unsure how to edit the docker image to make it work

could you advise me please ?

Thanks and apologies for a newbie level question :)

chazkii commented 4 years ago

Sorry for the late reply. To confirm, you want to acess the Chrome Dev Protocol from the running Chrome instance inside the Docker container that Chromewhip runs in? It should be simply adding the extra flag -p=127.0.0.1:9222:9222 to the docker run command in the README.