Setting up a remote Docker host system
You must set up a system to host the remote Docker host. You can set up the remote host with a non-secure mode of connection with HCL OneTest™ Server.
Procedure
- Locate a remote computer or Virtual Machine (VM) that acts as the remote Docker host system. The remote systems must be running on Ubuntu V18.04 or later, and has a minimum of 16 GB RAM.
-
Install Docker Enterprise Edition for a non-secure mode of connection with HCL OneTest™ Server.
For more information, refer to the related links.
-
As a system administrator of the remote system, specify a port to access the Docker daemon in
the docker.service file located in the directory
/lib/systemd/system. You must add the configured port at the line in the
file:
ExecStart=/usr/bin/dockerd -H fd:// -H tcp://0.0.0.0:PORT
For example, if the port configured is 4342, then the line must read as:
ExecStart=/usr/bin/dockerd -H fd:// -H tcp://0.0.0.0:4342
-
Restart the Docker service by using the following commands:
$ sudo systemctl daemon-reload
$ sudo systemctl restart docker
-
Run the following command on the remote Docker host system to get access to the Docker repository:
$ sudo docker login <host_name> -u <username> -p <password>
Where, <host_name> is the host name of the remote Docker host system, <username> and <password> are your credentials to log in.
-
Pull the following images from HCL OneTest™ Server to the remote host system:
Docker images of: hcl-onetest-studio, hcl-onetest-virtualization
You can use the following command to pull the image:
$ sudo docker pull <host_name>/ot/hcl-onetest/studio:10.1.0
$ sudo docker pull <host_name>/ot/hcl-onetest/virtualization:10.1.0
Results
You have set up the remote Docker host system that can be accessed in a non-secure mode.
What to do next
You can set up a secure remote Docker host system optionally, that enables a secure connection with HCL OneTest™ Server.
You must configure the remote Docker host on HCL OneTest™ Server.