How to run my local application in a container

89 views Asked by At

I have built my application locally and accessible locally. Something like 'http://localhost:4200/admin/login' works fine.

An i have my automation suite that i want to execute in a selenium grid environment. So I created a hub and node and they are interconnected.

When i run any global applications like google.com etc... then those sites are accessible in selenium node container and they are working fine.

But when i run my suite pointing to local, they are not executing in the node container. How can i access my local deployed application in Node container?

I started my hub using 'docker run -d -p 4545:4444 --name selenium-hub selenium/hub'

and started my node as 'docker run -d -P --link selenium-hub:hub selenium/node-chrome-debug'

0

There are 0 answers