Sauce Labs Customer Idea Portal

Submit an idea and make Sauce Labs even better!

Running sauce connect as docker containers

Currently we are planning to run sauce connect as docker containers and it looks like saucelabs does not support this officially yet.

We have done a small POC where we were able to run sauce connect in a docker container and ran tests against it . But we are not sure how reliable it is to have sauce connect in a docker container which can serve upto 35k tests upto week.

We would like to have official docker image  for sauce connect from sauce labs and also best practises around this

  • Guest
  • Apr 7 2016
  • Planned
  • Attach files
  • Jean Sandberg commented
    29 Jul, 2019 11:20am

    Hello Suryatej -

    We would like to provide this feature but have a number of other things that are higher in priority. For the moment, it is still in our 2020 roadmap.

    Best,

    Jean

    (Sauce Connect Product Manager)

  • suryatej yaramada commented
    23 Jul, 2019 02:27pm

    Any update on this feature?

  • suryatej yaramada commented
    15 May, 2019 03:39pm

    Any update on this feature?

  • Kenneth Wong commented
    12 Nov, 2018 07:09pm

    * Which OS do you use for the Docker host system?

    Linux ubuntu 4.4.0-62-generic #83-Ubuntu SMP Wed Jan 18 14:10:15 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

    * Which container orchestration technology do you use?

    Using docker-compose

    * Do you have any existing Docker infrastructure?

    Yes. Jenkins infrastructure is based on docker

    * Do you plan to run long-lived tunnels in a Docker or do you plan to run "on-demand" tunnels (say as a needed by a Jenkins job)

    Long-lived tunnels

    * Lastly your title and how Sauce Connect fits into your build infrastructure.

    Web Automation Engineering Lead

  • Guest commented
    9 Nov, 2018 09:59pm

    * Which OS do you use for the Docker host system?

    - Linux

    * Which container orchestration technology do you use?

    - Docker

    * Do you have any existing Docker infrastructure?

    - UCP

    * Do you plan to run long-lived tunnels in a Docker or do you plan to run "on-demand" tunnels (say as a needed by a Jenkins job)

    - Long-Lived tunnels. 

    * Lastly your title and how Sauce Connect fits into your build infrastructure.

    - We have a few long-lived tunnels that are used by a few different teams. These tunnel-IDs value are passed to our test framework at runtime and when the tests start, they should dispatch the request to the passed tunnel-id

  • Chandra Yalangi commented
    9 Nov, 2018 09:50pm

    Hi everyone, we need some extra information to build the Docker image. Can you please email me the following details at chandra.yalangi@saucelabs.com

    * Which OS do you use for the Docker host system?

    * Which container orchestration technology do you use? (Kubernetes, Docker Swarm, Other)

    * Do you have any existing Docker infrastructure?

    * Do you plan to run long-lived tunnels in a Docker or do you plan to run "on-demand" tunnels (say as a needed by a Jenkins job)

    * Lastly your title and how Sauce Connect fits into your build infrastructure.


    Thank you,

    Chandra

  • Parinkumar Patel commented
    25 Apr, 2018 04:53pm

    Chandra,
    Yes, the speed execution varies with sauce connect proxy vs without sauce connect proxy.
    I sent you email with details.

  • Chandra Yalangi commented
    25 Apr, 2018 12:38am

    Hi Parinkumar,


    Thank you for the feedback. What are your current specs for your docker instance? What are the sysctl and ulimit settings?


    >>speed of test execution decreases 2 -3 times

    You mean compared to accessing the resources directly without using SC?


    Can you e-mail me a link to a slow test while using Sauce Connect and a link to a fast test when Sauce Connect is not used? Please e-mail me at cy@saucelabs.com.


    Thanks,

    Chandra

  • Parinkumar Patel commented
    24 Apr, 2018 11:55pm

    We use Jenkins Linux server with docker agents that act as a sauce connect proxy. With this set up , we have noticed that the speed of test execution decreases 2 -3 times. We would like to have official docker guidelines that we can then send it to our build / dev ops engineers.

  • dan seeman commented
    28 Feb, 2018 10:09pm

    If I respond directly to you on email – do you get the message?

    dan

  • Chandra Yalangi commented
    28 Feb, 2018 09:42pm

    Dan, thank you for the feedback. Let me discuss this with our team and get back to you.

  • dan seeman commented
    28 Feb, 2018 09:28pm

    We are using a Docker container we created by ourselves.  For the most part it seems to work however we have seen some intermittent connection issues.  It's not yet clear where the problem actually lies - could be a number of sources, not related to the container usage at all.

    But an 'official' Saucelabs image would be greatly helpful.  It's easy to create and would help the user community to know what environment conditions are required rather than to have us reverse engineer them.

  • Derek Ross commented
    19 May, 2017 01:31am

    Today, I installed SauceConnect using the config files and README.md that was included with the download.  I would have greatly benefited from having an official docker image that would have allowed me to do a `docker pull` and `docker run` to run the tunnels in the recommended config.