aws ecr-public not working #5895
Labels
api-version
closing-soon
This issue will automatically close in 4 days unless further comments are made.
ecr-public
guidance
Question that needs advice or information.
Confirm by changing [ ] to [x] below:
Issue is about usage on:
Platform/OS/Hardware/Device
I'm running on Windows PowerShell
output from
aws -v
:aws-cli/2.1.2 Python/3.7.7 Windows/10 exe/AMD64
Describe the question
I am not able to login to push an image to a public repository.
I was able to login and push to a private repository. It seems that
aws ecr-public
is not a real command, the wayaws ecr
is for private repositories.When I run
aws ecr-public get-login-password
the result is
`PS C:\Users\gilei> aws ecr-public get-login-password
usage: aws [options] [ ...] [parameters]
To see help text, you can run:
aws help
aws help
aws help
aws: error: argument command: Invalid choice, valid choices are:
accessanalyzer | acm
acm-pca | alexaforbusiness
amplify | apigateway
apigatewaymanagementapi | apigatewayv2
appconfig | appflow
application-autoscaling | application-insights
appmesh | appstream
appsync | athena
autoscaling | autoscaling-plans
backup | batch
braket | budgets
ce | chime
cloud9 | clouddirectory
cloudformation | cloudfront
cloudhsm | cloudhsmv2
cloudsearch | cloudsearchdomain
cloudtrail | cloudwatch
codeartifact | codebuild
codecommit | codeguru-reviewer
codeguruprofiler | codepipeline
codestar | codestar-connections
codestar-notifications | cognito-identity
cognito-idp | cognito-sync
comprehend | comprehendmedical
compute-optimizer | connect
connectparticipant | cur
databrew | dataexchange
datapipeline | datasync
dax | detective
devicefarm | directconnect
discovery | dlm
dms | docdb
ds | dynamodb
dynamodbstreams | ebs
ec2 | ec2-instance-connect
ecr | ecs
efs | eks
elastic-inference | elasticache
elasticbeanstalk | elastictranscoder
elb | elbv2
emr | es
events | firehose
fms | forecast
forecastquery | frauddetector
fsx | gamelift
glacier | globalaccelerator
glue | greengrass
groundstation | guardduty
health | honeycode
iam | identitystore
imagebuilder | importexport
inspector | iot
iot-data | iot-jobs-data
iot1click-devices | iot1click-projects
iotanalytics | iotevents
iotevents-data | iotsecuretunneling
iotsitewise | iotthingsgraph
ivs | kafka
kendra | kinesis
kinesis-video-archived-media | kinesis-video-media
kinesis-video-signaling | kinesisanalytics
kinesisanalyticsv2 | kinesisvideo
kms | lakeformation
lambda | lex-models
lex-runtime | license-manager
lightsail | logs
machinelearning | macie
macie2 | managedblockchain
marketplace-catalog | marketplace-entitlement
marketplacecommerceanalytics | mediaconnect
mediaconvert | medialive
mediapackage | mediapackage-vod
mediastore | mediastore-data
mediatailor | meteringmarketplace
mgh | migrationhub-config
mobile | mq
mturk | neptune
network-firewall | networkmanager
opsworks | opsworkscm
organizations | outposts
personalize | personalize-events
personalize-runtime | pi
pinpoint | pinpoint-email
pinpoint-sms-voice | polly
pricing | qldb
qldb-session | quicksight
ram | rds
rds-data | redshift
redshift-data | rekognition
resource-groups | resourcegroupstaggingapi
robomaker | route53
route53domains | route53resolver
s3control | s3outposts
sagemaker | sagemaker-a2i-runtime
sagemaker-runtime | savingsplans
schemas | sdb
secretsmanager | securityhub
serverlessrepo | service-quotas
servicecatalog | servicecatalog-appregistry
servicediscovery | ses
sesv2 | shield
signer | sms
snowball | sns
sqs | ssm
sso | sso-admin
sso-oidc | stepfunctions
storagegateway | sts
support | swf
synthetics | textract
timestream-query | timestream-write
transcribe | transfer
translate | waf
waf-regional | wafv2
workdocs | worklink
workmail | workmailmessageflow
workspaces | xray
s3api | s3
ddb | configure
deploy | configservice
opsworks-cm | history
cli-dev | help`
when I run
aws ecr get-login-password
I successfully get an authorization token that allows me to push to my private repository.I'm trying to follow directions when I click on "view push commands" from my repository in the ECR console. Thank you in advance for your help
The text was updated successfully, but these errors were encountered: