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
  • Attach files
  • Jean Sandberg commented
    July 29, 2019 11:20

    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
    July 23, 2019 14:27

    Any update on this feature?

  • suryatej yaramada commented
    May 15, 2019 15:39

    Any update on this feature?

  • Kenneth Wong commented
    November 12, 2018 19:09

    * 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
    November 09, 2018 21:59

    * 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
    November 09, 2018 21:50

    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
    April 25, 2018 16:53

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

  • Chandra Yalangi commented
    April 25, 2018 00:38

    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
    April 24, 2018 23:55

    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
    February 28, 2018 22:09

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

    dan

  • Chandra Yalangi commented
    February 28, 2018 21:42

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

  • dan seeman commented
    February 28, 2018 21:28

    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
    May 19, 2017 01:31

    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.