Getting CQG Custom Algo SDK Image

Request Access

To start using CQG Custom Algo SDK you will need to request access to the CQG Docker Hub from CQG APIHelp Desk. Please email apihelp@cqg.com and we will provide the credentials as well as the Docker hub details.

Import

Import the Custom Algo SDK image (algo_centos8_sdk) into Docker using the docker pull command.

 docker login registry.cqg.com (use supplied credentials here)
docker pull registry.cqg.com/algo/algo_centos8_sdk:version_tag
docker tag registry.cqg.com/algo/algo_centos8_sdk:version_tag algo_centos8_sdk
If you see this error, Docker Desktop is not running:

error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.40/images/json: open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that docker daemon is not running.

Confirm that the import was successful by running docker images. It should have the new image listed:

c:\cqg> docker images
REPOSITORY                          			TAG            IMAGE ID                     CREATED               SIZE
registry.cqg.com/algo/algo_centos8_sdk

                                    latest         e2be89436e73        4 hours ago         3.89GB

Updates

To get a new image of CQG Custom Algo SDK, please contact API Help to receive access credentials and Docker Hub details. Use docker pull algo_centos8_sdk to overwrite the old image.

If you want to preserve the old image, go back to it and run docker tag algo_centos8_sdk algo_centos8_sdk:your_custom_tag before loading the new SDK image.

Command Line

To re-build from the command line, run docker ps -a and find the line with the algo_centos8_sdk image.

CONTAINER ID        IMAGE                               COMMAND                      CREATED                         STATUS                                  PORTS                                                                    NAMES
54d96cfa3888        

algo_centos8_sdk

        "/bin/sh -c 'echo Co…"   About a minute ago   Up About a minute           127.0.0.1:9000-9001->9000-9001/tcp   quizzical_lichterman

Run docker rm 54d96cfa3888 (note: replace "54d96cfa3888" with your container ID) or docker rm your_container_name_here

Previous   Next