Editing configurations of a remote Docker host
You can edit the host name or the port of the registered Docker host system instead of registering it as a new remote host if any of the parameters are changed on the remote host system. You can also change the mode of authentication of a registered remote Docker host.
Before you begin
You must have completed the following tasks:
- Set up the remote Docker host system. See Setting up a remote Docker host system or Setting up a secure remote Docker host system.
- Registered the remote Docker host with HCL OneTest™ Server. See Registering a remote Docker host with HCL OneTest Server.
Procedure
- Log in to HCL OneTest™ Server.
-
Click the User icon on the menu bar and select Docker Hosts.
The Manage docker hosts dialog box displays the registered remote Docker hosts.
-
Modify the Docker host by clicking the Edit docker host icon .
The Update docker host dialog box is displayed.
- Enter the changed value of the host name or the port in Remote hostname text box.
-
Change the mode of authentication, if required:
- To change from a non-secure mode to a secure mode, select the Secure mode
option. Click the action labels to browse and select the .pem files that
correspond to ca_certificate.pem, client_certificate.pem,
and client_key.pem.Note: You must have generated the .pem files on the remote host system and copied the files to your local drive.
- To change from a secure mode to a non-secure mode, clear the Secure mode option.
- To change from a non-secure mode to a secure mode, select the Secure mode
option. Click the action labels to browse and select the .pem files that
correspond to ca_certificate.pem, client_certificate.pem,
and client_key.pem.
-
Click Test connection to test whether a connection is established
between HCL OneTest™ Server and the
remote host system:
- On a successful connection, a message is displayed.
- On a failure to connect to the remote host system, an error message is displayed. You must resolve the error and reattempt to establish a successful connection.
-
Click Update.
The remote Docker host with the updated details is displayed.
Results
You have updated the registered remote Docker host with the changed parameters.
What to do next
You can now add the updated Docker host to your project.