Hi there. Sure this is a stupid question but, on w...
# prisma-whats-new
r
Hi there. Sure this is a stupid question but, on windows I run chromeless using
chrome --remote-debugging-port=9222 --disable-gpu --headless
My question is how do i shut it down?
d
Is this actively running in the terminal or a background process? It's usually Ctrl+C to kill a terminal process. I don't know how background processes work in windows though.
r
thanks, in windows opening chrome gives you countless chrome.exe processes. Got no idea which one is the chromeless one 🙂
It runs as a background process btw
k
Hi! You can use Docker image instead. For example https://github.com/yukinying/chrome-headless-browser-docker So with it you can run the container by following command:
Copy code
docker run --init -it --rm --name chrome --shm-size=1024m -d -p 9222:9222 --cap-add=SYS_ADMIN yukinying/chrome-headless-browser --headless --disable-gpu --hide-scrollbars --window-size=1280,800
r
cool will take a gander thanks
Got all this working now! fantastic. Upwards and onwards ta
👍 1