How do I pull Docker images from the Tutum private registry with Amazon ECS? -
i trying set amazon ecs deployment employs image tutum private docker registry. tutum being private, requires authenticating obviously.
as per the ecs documentation, i've modified file '/etc/ecs/ecs.config' on ec2 instance contain correct authentication credentials tutum:
ecs_engine_auth_type=dockercfg ecs_engine_auth_data={"tutum.co":{"auth":"<auth-string>","email":"<my-email>"}}
the auth string base64 encoding of tutum credentials: '<username>:<password>'
.
however, when try run corresponding ecs task, fails message: cannotpullcontainererror: authentication required.
how configure ecs authenticate against tutum registry, can pull images there?
seems if took reboot ec2 instance, settings in '/etc/ecs/ecs.config' applied.
Comments
Post a Comment