Docker Community Forums

Share and learn in the Docker community.

How to access a private Docker repository in AWS OpsWorks ECS Layer?


(Johnatagrible) #1

I am trying to use an ECS OpsWorks layer to manage some automation, but I cannot figure out how to set up those instances such that the ecs.config contains my private Docker repository credentials, as one would do manually if managing ec2 instances directly. I think I need to somehow use some custom Chef to override the setup recipe to load my template rather than the default template for that file, but I am new to Chef so how to do this is unclear. Is it possible to use a private Docker repository with an OpsWorks ECS layer, and if so, how?