Docker + Nightwatch + Chromedriver

65 views
Skip to first unread message

barry QA

unread,
Dec 14, 2017, 1:22:18 PM12/14/17
to NightwatchJs
I am using the following framework from 'blueimp' for my nightwatch test cases. It works perfectly.

https://github.com/nightwatchjs/nightwatch/issues/1270

However, i would like to change the name of the root folder from 'nightwatch' to something else more appropriate to the test cases.  But when i change the name and run the following command 'docker-compose run --rm nightwatch' to execute the test cases, i get the following error.

Creating network "aoheadless_default" with the default driver
Creating aoheadless_chromedriver_1 ...
Creating aoheadless_app_1 ...
Creating aoheadless_chromedriver_1
Creating aoheadless_chromedriver_1 ... error

ERROR: for aoheadless_chromedriver_1  Cannot start service chromedriver: driver failed programming external connectivity on endpoint aoheadless_chromedriver_1 (660de8be10ed961fc2193e55c7ba48d524cb7fb29Creating aoheadless_app_1 ... done

ERROR: for chromedriver  Cannot start service chromedriver: driver failed programming external connectivity on endpoint aoheadless_chromedriver_1 (660de8be10ed961fc2193e55c7ba48d524cb7fb29417a230b64244df0aedcebd): Bind for 0.0.0.0:5900 failed: port is already allocated
ERROR: Encountered errors while bringing up the project.

is there anyway to change the name of the root folder?

Reply all
Reply to author
Forward
0 new messages