I am trying to extract a Docker image from my private repo and deploy it to AWS Elastic Beanstalk using Dockerrun.aws.json, packed in zip. Its contents
{ "AWSEBDockerrunVersion": "1", "Authentication": { "Bucket": "my-bucket", "Key": "docker/.dockercfg" }, "Image": { "Name": "namespace/repo:tag", "Update": "true" }, "Ports": [ { "ContainerPort": "8080" } ] }
Where "my-bucket" is my name in bucket on s3, which uses the same place as my BS environment. The configuration set in the key is the result
$ docker login
called in docker2boot application terminal. He then copied to the docker folder in my-bucket. The image exists for sure. After that I download the .zip with the dockerrun file in EB and upon deployment I get
Activity execution failed, because: WARNING: Invalid auth configuration file
What am I missing? thanks in advance
source share