Why You Should run TestProject agent inside Docker container?

Docker with TestProject
  • The Docker client talks to the Docker daemon, which does the heavy lifting of building, running, and distributing your Docker containers.
  • The Docker client and daemon can run on the same system, or you can connect a Docker client to a remote Docker daemon.
  • The Docker client and daemon communicate using a REST API, over UNIX sockets or a network interface.

Docker Objects :

  • images : An image is a read-only template with instructions for creating a Docker container. You can create your own image, using a Dockerfile with a simple syntax for defining the steps needed to create the image and run it, or build an image based on another image, with some additional customization.
  • containers : A container is a runnable instance of an image. You can create, start, stop, move, or delete a container using the Docker API or CLI. You can connect a container to one or more networks, attach storage to it, or even create a new image based on its current state.
  • services : Services allow you to scale containers across multiple Docker daemons, which all work together as a swarm with multiple managers and workers.

Docker Hub :

Docker Compose

Setting up a Docker Environment

  • $ docker version
  • $ docker run hello-world

Why do I need TestProject Agents running inside Docker containers?

  • Giving signals to execute jobs right from the web UI.
  • Or providing dedicated tokens beforehand for seamless execution of jobs without the need for manual intervention.

Setting up TestProject Agents in Docker


  • All you need is a TestProject account, that’s it! If you don’t already have one, you can sign up and open your free account here.
  • Permanent Execution Engine — The agent is registered once, and then can be used to execute tests and jobs from the TestProject web application
  • Ephemeral Instances — In this scenario the agent is started up in order to perform a specific task, and will self terminate upon completion of said task.

Permanent Execution Engine

Running Test Jobs using Docker

  1. TestProject Agent
  2. Standalone selenium with pre-installed Chrome
  3. Standalone selenium with pre-installed Firefox



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store