Linux worldls-302.fr.planethoster.net 4.18.0-553.8.1.lve.el7h.x86_64 #1 SMP Thu Jul 4 15:19:33 UTC 2024 x86_64
LiteSpeed
Server IP : 10.185.0.203 & Your IP : 216.73.217.14
Domains :
Cant Read [ /etc/named.conf ]
User : gerathty
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
lib /
python2.7 /
site-packages /
awscli /
examples /
ecr /
Delete
Unzip
Name
Size
Permission
Date
Action
batch-delete-image.rst
481
B
-rw-r--r--
2017-04-04 16:39
batch-get-image.rst
249
B
-rw-r--r--
2017-04-04 16:39
create-repository.rst
495
B
-rw-r--r--
2017-04-04 16:39
delete-repository.rst
491
B
-rw-r--r--
2017-04-04 16:39
describe-repositories.rst
612
B
-rw-r--r--
2017-04-04 16:39
get-authorization-token.rst
1.59
KB
-rw-r--r--
2017-04-04 16:39
get-login.rst
683
B
-rw-r--r--
2017-04-04 16:39
get-login_description.rst
824
B
-rw-r--r--
2017-04-04 16:39
Save
Rename
**To get an authorization token for your default registry** This example command gets an authorization token for your default registry. Command:: aws ecr get-authorization-token Output:: { "authorizationData": [ { "authorizationToken": "QVdTOkN...", "expiresAt": 1448875853.241, "proxyEndpoint": "https://<aws_account_id>.dkr.ecr.us-west-2.amazonaws.com" } ] } **To get the decoded password for your default registry** This example command gets an authorization token for your default registry and returns the decoded password for you to use in a ``docker login`` command. .. note:: Mac OSX users should use the ``-D`` option to ``base64`` to decode the token data. Command:: aws ecr get-authorization-token --output text \ --query authorizationData[].authorizationToken \ | base64 -d | cut -d: -f2 **To `docker login` with your decoded password** This example command uses your decoded password to add authentication information to your Docker installation by using the ``docker login`` command. The user name is ``AWS``, and you can use any email you want (Amazon ECR does nothing with this information, but ``docker login`` required the email field). .. note:: The final argument is the ``proxyEndpoint`` returned from ``get-authorization-token`` without the ``https://`` prefix. Command:: docker login -u AWS -p <my_decoded_password> -e <any_email_address> <aws_account_id>.dkr.ecr.us-west-2.amazonaws.com Output:: WARNING: login credentials saved in $HOME/.docker/config.json Login Succeeded