Configuring Docker containers

You can now deploy and configure the Docker containers on any computer and quickly get started with testing. You can push the product images to the Docker container to automate the playing back of tests.

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.3 Docker image, you can use the following command:
    tar --wildcards --to-command='docker load' -xzf ibm-rtw-10.2.3.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.