Documentation Center

Finding the available language pairs

About this task

As the number of language pairs published in the Docker registry is large, we provide a helper script to scan for the latest versions and create the docker pull commands to pull them.

Procedure

  • Run the following command to scan the Docker registry and retrieve the latest version of each language pair that has been published.
    python3 script/list-lp-images.py --user USER --password PASSWORD
    USER and PASSWORD above are the credentials for the Docker registry docker.edge.languageweaver.com.

    Sample output:

    docker pull docker.edge.languageweaver.com/mtedge/sdl-lp/ruseng_generic_srv_tnmv_8_5_x_0:v1
    docker pull docker.edge.languageweaver.com/mtedge/sdl-lp/slveng_generic_srv_tnmv_8_5_x_0:v1
    docker pull docker.edge.languageweaver.com/mtedge/sdl-lp/someng_generic_srv_tnmv_8_4_x_1:v1
  • You can also retrieve all the versions of all the language pairs using the -all command line flag (as opposed to just the latest version as shown above):
    python3 script/list-lp-images.py --user USER --password PASSWORD --all