403Webshell
Server IP : 138.197.107.151  /  Your IP : 216.73.217.7
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux BloxBy-Builder 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64
User : wpbetasites_mrakzqskir ( 1022)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/bsd-crawler-parser/aws/dist/awscli/examples/ecr-public/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/bsd-crawler-parser/aws/dist/awscli/examples/ecr-public/get-login-password.rst
**Example 1: To authenticate docker to an Amazon ECR public registry**

The following ``get-login-password`` example retrieves and displays an authentication token using the GetAuthorizationToken API that you can use to authenticate to an Amazon ECR public registry. ::

    aws ecr-public get-login-password \
        --region us-east-1 
    | docker login \
        --username AWS \
        --password-stdin public.ecr.aws

This command produces no output in the terminal but instead pipes the output to Docker.

For more information, see `Authenticate to the public registry <https://docs.aws.amazon.com/AmazonECR/latest/public/public-registries.html#public-registry-auth>`__ in the *Amazon ECR Public*.

**Example 2: To authenticate docker to your own custom AmazonECR public registry**

The following ``get-login-password`` example retrieves and displays an authentication token using the GetAuthorizationToken API that you can use to authenticate to your own custom Amazon ECR public registry. ::

     aws ecr-public get-login-password \
        --region us-east-1 \
    | docker login \
        --username AWS \
        --password-stdin public.ecr.aws/<your-public-registry-custom-alias>

This command produces no output in the terminal but insteads pipes the output to Docker.

For more information, see `Authenticate to your own Amazon ECR Public <https://docs.aws.amazon.com/AmazonECR/latest/public/public-registries.html#public-registry-auth>`__ in the *Amazon ECR Public*.

Youez - 2016 - github.com/yon3zu
LinuXploit