Configuring Docker containers

Instead of reading through the system requirements list and installing the products, you can now deploy the Docker containers on any computer and get started with testing. To automate playing back tests, you can push the product images to the Docker container.

Before you begin

You must have downloaded and installed Docker-CE. For more information, refer to the following Docker documentations:

Procedure

  1. Open PowerShell or a terminal of your choice and run the following command to verify whether your Docker installation was successful:
    $ docker run hello-world
  2. Download the container image for the agents from the same location that you downloaded the product bits and extract the compressed files.
    Important: The version of the product and agents must match.
  3. Run the following command to load the agent image into the Docker repository:
    $ docker load -i imageFileName.tar.gz
    For example, to load the 11.0.0 Docker image, you can use the following command:
    $ docker load -i hcl-devops-workbench-11.0.0.tar.gz
    When the image is loaded, the following message is displayed:

    Loaded image: imageFileName:versionNumber

What to do next

You must set up the playback environment on Docker. See Running tests with containerized agents and Running automated tests with containerized workbench and agents from Docker.