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:
    tar --wildcards --to-command='docker load' -xzf imageFileName.tar.gz 'images/*'
    For example, to load the 10.2.0 Docker image, you can use the following command:
    tar --wildcards --to-command='docker load' -xzf ibm-rpta-10.2.tar.gz 'images/*'
    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.