You need to push a new Docker container image to a repository in the Oracle Cloud Infrastructure (OCI) Registry. Which mechanism must you use to provide authentication?
A.
Generate an API signing key to complete the authentication via the Docker CLI.
B.
Generate an Auth Token to complete the authentication via the OCI CLI.
C.
Generate an API signing key to complete the authentication via the OCI CLI.
D.
Generate an Auth Token to complete the authentication via the Docker CLI.
To push a new Docker container image to a repository in OCI Registry, you need to use an Auth Token to complete the authentication via the Docker CLI1. An Auth Token is a secure, auto-generated password that you can use to authenticate with OCI services such as OCI Registry1. You can generate an Auth Token in the Console by following these steps1:
In the top-right corner of the Console, open the Profile menu and then click User settings to view the details.
On the Auth Tokens page, click Generate Token.
Enter a friendly description for the auth token. Avoid entering confidential information.
Click Generate Token. The new auth token is displayed.
Copy the auth token immediately to a secure location from where you can retrieve it later, because you won’t see the auth token again in the Console.
Close the Generate Token dialog. After generating an Auth Token, you need to log in to OCI Registry by entering docker login .ocir.io in a terminal window on the client machine running Docker, where corresponds to the key for the OCI Registry region you’re using1. When prompted for a username, enter your username in the format /, where is the auto-generated Object Storage namespace string of your tenancy1. When prompted for a password, enter the Auth Token you copied earlier1.
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit