title: how to connect to standalone selenium-firefox container from another container
body: <p>I am trying to run my automation GUI test suites which is located in my automation container.</p>
  <p>I seperately downloaded standalone selenium-firefox image and running as container running on port 4444. which is running on</p>
  <pre><code>localhost:4444/wd/hub
  </code></pre>
  <p>Now, I am trying to run the test suites which is in my automation container, i am using below code to run in headless mode to reach the firefox version of selenium in my robotframework test suite.</p>
  <pre><code>Open Browser      http://www.youtube.com    headlessfirefox    remote_url=http://localhost:4444/wd/hub
  </code></pre>
  <p>This approach is working fine when i run my test suite from my machine, it fails when i run it inside the automation container.</p>
  <p>is there any way that my automation container can reach the selenium-firefox container to use the browser.</p>
  <p>Error:</p>
  <pre><code>C: 10: Open Chrome headless                                          
  /usr/local/lib/python3.6/site-packages/requests/__init__.py:91: 
  RequestsDependencyWarning: urllib3 (1.26.3) or chardet (3.0.4) doesn't 
  match a supported version!
  RequestsDependencyWarning)
  [ WARN ] Retrying (Retry(total=2, connect=None, read=None, redirect=None, 
  status=None)) after connection broken by 
  'NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 
  0x7f4a322440b8&gt;: Failed to establish a
  [ WARN ] Retrying (Retry(total=1, connect=None, read=None, redirect=None, 
  status=None)) after connection broken by 
  'NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 
  0x7f4a32244710&gt;: Failed to establish a
  new connection: [Errno 111] Connection refused',)': /wd/hub/session
  [ WARN ] Retrying (Retry(total=0, connect=None, read=None, redirect=None, 
  status=None)) after connection broken by 
  'NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 
  0x7f4a32235710&gt;: Failed to establish a
  new connection: [Errno 111] Connection refused',)': /wd/hub/session
  | FAIL |
  MaxRetryError: HTTPConnectionPool(host='localhost', port=4444): Max 
  retries exceeded with url: /wd/hub/session (Caused by 
  NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 
  0x7f4a32235438&gt;: Failed to establish a new connection: [Errno 111] 
  Connection refused',))
  </code></pre>
  <p>Any help would be thankful</p>