https://github.com/igolaizola/chromote
Chrome inside docker with novnc and remote debugging
https://github.com/igolaizola/chromote
chrome chromedp debug novnc remote vnc
Last synced: 4 months ago
JSON representation
Chrome inside docker with novnc and remote debugging
- Host: GitHub
- URL: https://github.com/igolaizola/chromote
- Owner: igolaizola
- License: mit
- Created: 2023-10-16T20:48:47.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-16T22:20:53.000Z (over 1 year ago)
- Last Synced: 2024-12-03T16:53:12.546Z (6 months ago)
- Topics: chrome, chromedp, debug, novnc, remote, vnc
- Language: Dockerfile
- Homepage:
- Size: 4.88 KB
- Stars: 8
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# chromote
Run chrome inside docker with novnc and remote debugging
## Usage
Build the image
```
docker build -t chromote .
```Run the image in the background
```
docker run --name chromote --restart unless-stopped -v $(pwd)/data:/data -e VNCPASS=P4ssw0rd! -p 6080:6080 -p 127.0.0.1:9222:9222 chromote
```Run the image and remove it after exit
```
docker run --rm -it -v $(pwd)/data:/data -e VNCPASS=P4ssw0rd! -p 8080:8080 -p 127.0.0.1:9222:9222 chromote
```## Test
Test that remote debugging is working
```
go run main.go
```