VISUAL BASIC

INTRODUCTION TO NET

APPLICATION DEVELOPMENT

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which two parameters are passed to the Docker Login Command to access OCI Registry from Docker CLT?
A
tenancyname/OCIusername
B
Auth Token for password
C
password
D
tenancyname
Explanation: 

Detailed explanation-1: -Use the docker login command to supply your credentials and authenticate with the server: $ docker login Username: Password: You’ll be prompted to enter your username and password interactively. Docker will try to login to Docker Hub using the credentials.

Detailed explanation-2: -Before using OCI Functions, you have to log Docker in to the Docker registry in which you are going to store your functions as Docker images. This is the Docker registry specified in the Fn Project CLI context (see Creating an Fn Project CLI Context to Connect to Oracle Cloud Infrastructure).

Detailed explanation-3: -Use an access token When logging in from your Docker CLI client ( docker login–username <username> ), omit the password in the login command. Instead, enter your token when asked for a password.

Detailed explanation-4: -Each container registry includes an admin user account, which is disabled by default. You can enable the admin user and manage its credentials in the Azure portal, or by using the Azure CLI, Azure PowerShell, or other Azure tools.

Detailed explanation-5: -Provide a password using STDIN (–password-stdin) To run the docker login command non-interactively, you can set the–password-stdin flag to provide a password through STDIN . Using STDIN prevents the password from ending up in the shell’s history, or log-files.

Detailed explanation-6: -There are 2 types of container registries: public and private.

There is 1 question to complete.