sparse-intern-71089
01/06/2023, 2:10 PMmillions-furniture-75402
01/06/2023, 3:36 PMaws.sdk.config.credentials = {
accessKeyId: "test",
secretAccessKey: "test",
};
aws.sdk.config.region = aws.config.region;
and
imageName: `localhost:4510/${appName}-image`,
millions-furniture-75402
01/09/2023, 1:56 PMdocker login
.
On the creation of a new repository, ECR in localstack starts the http server.
When using awsx to create the repository, this also impies docker login
. docker login
is happening before the http server is ready and causes the failure above.
To work around, I use the aws cli to create a fake repository, to get the ECR http server running before docker login
.