Updated on 2024-10-18 GMT+08:00

Installation of the qt CLI

If you intend to install the qt CLI on a parent instance using Linux images other than Huawei Cloud EulerOS, compile and install it in the Huawei Cloud QingTian open-source repository. If you intend to install the qt CLI on a parent instance using the Huawei Cloud EulerOS image, run the following command:

yum install qingtian-tool

The RPM package contains the following parts:

qt-enclave-env: supports resource isolation. Before the QingTian Enclave instances are created, the vCPUs and memory of a parent instance need to be allocated to QingTian Enclave instances to build an isolated, secure runtime environment.

qt CLI: a QingTian command line tool to build QingTian Enclave image files required for booting QingTian Enclave instances and manage the lifecycle of the instances.

Note that before using the qt CLI, you need to install python3 and the necessary python modules, such as docker and knack. Run the following command to install the necessary modules:

pip3 install docker knack