You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+22-36Lines changed: 22 additions & 36 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -348,51 +348,36 @@ ___
348
348
349
349
## Debugging
350
350
351
-
In the event you wish to visually see what the browser is doing you will want to run the `debug` variant of node or standalone images. A VNC server will run on port 5900. You are free to map that to any free external port that you wish. Keep in mind that you will only be able to run one node per port so if you wish to include a second node, or more, you will have to use different ports, the 5900 as the internal port will have to remain the same though as thats the VNC service on the node. The second example below shows how to run multiple nodes and with different VNC ports open:
You can acquire the port that the VNC server is exposed to by running:
383
-
(Assuming that we mapped the ports like this: 49338:5900)
384
-
```bash
385
-
$ docker port <container-name|container-id> 5900
386
-
#=> 0.0.0.0:49338
387
-
```
367
+
Then, you would use in your VNC client:
368
+
- Port 5900 to connect to the Chrome container
369
+
- Port 5901 to connect to the Firefox container
370
+
- Port 5902 to connect to the Opera container
388
371
389
-
In case you have [RealVNC](https://www.realvnc.com/) binary `vnc` in your path, you can always take a look, view only to avoid messing around your tests with an unintended mouse click or keyboard interrupt:
372
+
In case you have [RealVNC](https://www.realvnc.com/) binary `vnc` in your path, you can always take a look, select view
373
+
only to avoid messing around your tests with an unintended mouse click or keyboard interrupt:
390
374
```bash
391
-
$ ./bin/vncview 127.0.0.1:49338
375
+
$ ./bin/vncview 127.0.0.1:5900
392
376
```
393
377
394
-
When you are prompted for the password it is `secret`. If you wish to change this then you should either change it in the `/NodeBase/Dockerfile`
395
-
and build the images yourself, or you can define a Docker image that derives from the posted ones which reconfigures it:
378
+
When you are prompted for the password it is `secret`. If you wish to change this then you should either change
379
+
it in the `/NodeBase/Dockerfile` and build the images yourself, or you can define a Docker image that derives from
`Message: unknown error: Chrome failed to start: exited abnormally`
430
415
431
-
The reason _might_ be that you've set the `START_XVFB` environment variable to "false", but forgot to actually run Firefox, Chrome or Opera (respectively) in headless mode.
416
+
The reason _might_ be that you've set the `START_XVFB` environment variable to "false", but forgot to
417
+
actually run Firefox, Chrome or Opera in headless mode.
0 commit comments