Copying images to the registry
You can copy a Docker image from one registry to another using CLI tools such as Skopeo.Note:The following examples use Skopeo to demonstrate how to copy container images. For more information about Skopeo, see Skopeo.
wdu-runtime
image reference includes three parts:
- The registry URL:
${WDU_REGISTRY:-us.icr.io/watson-orchestrate-private}
- The image path:
/document-processing/wdu-runtime
- The image tag:
${WDU_TAG:-2.4.0}
YAML
Authenticating against registries
To copy the images, you first need to authenticate with both the source and target registries: Source registry authentication- watsonx Orchestrate account
- myIBM
1
Get the instance URL
Details on how to do this can be found here
2
Create the registry URL
To create the registry URL:
- Replace the
https://api
prefix withregistry
. - Replace the
/instances/xyz
with/cp/wxo-lite
.
https://api.au-syd.watson-orchestrate.cloud.ibm.com/instances/abc
it would become registry.au-syd.watson-orchestrate.cloud.ibm.com/cp/wxo-lite
3
Get the registry username
Your username follows the format
wxouser-<instance_id>
.For example, if your instance ID is abc
, then your username is wxouser-abc
.4
Get the registry password
The password is the api key for the wxo instance. Details on how to find it can be seen here
5
Login to the registry
Use your tool to authenticate to the source registry.Example using Skopeo:
BASH
BASH
Copy images from source to target
After you authenticate with both registries, you can copy container images using your tool. Example using Skopeo:BASH
BASH
BASH
Open source images
watsonx Orchestrate Developer Edition also depends on several open source images. When usingWO_DEVELOPER_EDITION_SOURCE=custom
, the ADK looks for these images in the same REGISTRY_URL
.
To avoid issues, copy the open source images to your custom registry. Alternatively, set the OPENSOURCE_REGISTRY_PROXY
flag to point to a public, unauthenticated registry such as docker.io.
Two exceptions require special handling:
- ETCD: Pulled from quay.io
- Elasticsearch: Pulled from docker.elastic.co
.env
Configuring SSL security
For on-premises (CPD) deployments, ADK uses SSL authentication by default to connect to a registry proxy in your watsonx Orchestrate on-premises environment. You can control this behavior by setting the WO_VERIFY_SSL environment variable. Use this variable to enable or disable SSL authentication.- Enable with the system SSL certificate
- Enable with a custom SSL certificate
- Disable SSL Security
To enable SSL security using the system’s default SSL certificate, set the
WO_VERIFY_SSL
environment variable to True
:.env