简体   繁体   中英

AWS Fargate ECS CLI Compose Private Registry

I am trying to create a Fargate cluster using Cloud Formation in AWS which uses a bunch of images stored in a private registry behind username/password authentication.

This command

./ecs-cli.exe compose --project-name AdminUI service up --create-log- 
groups --cluster-config AdminUIConfig

results in an error FATA[0302] Deployment has not completed: Running count has not changed for 5.00 minutes

After investigation it appears the problem is because of the lack of basic auth against the repo which holds the images. How on earth do I pass this? I am currently running on Windows 10 using VS Code, if that matters. It feels like it is not client side, it is the cluster itself which needs to be sending the authentication.

Sorry, new to Docker and AWS

Fargate currently only supports pulling images from an unauthenticated registry (like Docker Hub) or from Amazon ECR.

From the documentation :

The Fargate launch type only supports images in Amazon ECR or public repositories in Docker Hub.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM