With the downloaded certificate, you can connect to the endpoint exposed from the cluster by using Docker Swarm API or Docker client. For details, see Connect to a cluster by using Docker tools.
Obtain the access address.
- Log on to the Container Service console.
Click Clusters in the left-side navigation pane.
On the Cluster List page, click Manage at the right of a cluster.
The cluster details page is displayed, showing the cluster connection information.
Download and save the TLS certificate.
Configure a TLS certificate before you use the preceding access address to access the Docker cluster.
Click Download Certificate in the cluster details page to download the TLS certificate. The
certFiles.zipfile is downloaded. In the following example, the downloaded certificate is saved to the
ClusterNameindicates the name of your cluster. You can save the certificate to a different directory, but we recommend using the
~/.acs/certs/ClusterName/directory for easy management.
mkdir ~/.acs/certs/ClusterName/ #Replace ClusterName with your cluster name
cp /path/to/certFiles.zip .