This document describes how to obtain an access credential for a TCR Enterprise Edition instance in Tencent Container Registry (TCR). To push and pull container images, you must first run the docker login
command on the access client and enter your username and password (the credential) to log in to the instance.
TCR Enterprise Edition instances support both a long-term access credential and a temporary login command, in which:
Long-term access credential: is permanently valid after being generated. It can be disabled and deleted. Long-term access credentials can be applied in scenarios such as early-stage testing, CICD assembly lines, and container cluster image pull.
Note:
Please keep the access credential properly after it is generated. If it is lost, disable or delete it promptly.
Temporary login command: is valid for 1 hour and cannot be disabled or terminated after being generated. It can be applied in scenarios such as temporary use and one-time external authorization. Production clusters with high security requirements can also use this method through regular refreshing.
Before obtaining an access credential for a TCR Enterprise Edition instance, you must complete the following preparations.
Refer to Logging in to a Registry Instance to log in to the TCR Enterprise Edition instance.
Was this page helpful?