Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1006 Bytes

File metadata and controls

29 lines (22 loc) · 1006 Bytes

Deploy QGS service on Docker

QGS (Quote Generation Service) implementation comes from DCAP. Currently, the package of QGS only support several distros. Using docker to deploy the QGS service can be an alternative for some unsupported distros.

1. QGS Service Usage Guide

1.1 Build QGS container image

Build QGS container image using build.sh. It will push the image to a registry specified in the command.

$ cd container
$ sudo ./build.sh -c qgs -r <your registry> -g <image tag> -q

1.2 Start QGS Service

docker run -d --privileged --name qgs --restart always --net host <your registry>
  • Check if QGS service works
$ docker ps
CONTAINER ID   IMAGE      COMMAND                 CREATED         STATUS         PORTS      NAMES
90a3777d813e   qgs        "/opt/intel/tdx-qgs/…"  9 minutes ago   Up 9 minutes              qgs