Failed to pull Docker image Beanstalk

Every ElasticBeanstalk deploy with eb_deployer fails with this error:

[2015-02-11T15:02:31.551Z] INFO  [6528]  - [CMD- Startup/StartupStage0/AppDeployPreHook/] : Starting activity...
[2015-02-11T15:02:33.280Z] INFO  [6528]  - [CMD- Startup/StartupStage0/AppDeployPreHook/] : Activity execution failed, because: command failed with error code 1: /opt/elasticbeanstalk/hooks/appdeploy/pre/
Pulling repository foo/bar
2015/02/11 15:02:33 Error: image foo/bar not found
Failed to pull Docker image foo/bar:staging: Pulling repository foo/bar
2015/02/11 15:02:33 Error: image foo/bar not found. Check snapshot logs for details. (Executor::NonZeroExitStatus)
  at /opt/elasticbeanstalk/lib/ruby/lib/ruby/gems/2.1.0/gems/executor-1.0/lib/executor/exec.rb:81:in `sh'
  from /opt/elasticbeanstalk/lib/ruby/lib/ruby/gems/2.1.0/gems/executor-1.0/lib/executor.rb:15:in `sh'
  from /opt/elasticbeanstalk/lib/ruby/lib/ruby/gems/2.1.0/gems/beanstalk-core-1.1/lib/elasticbeanstalk/executable.rb:63:in `execute!'

The Docker image definitely exists, and can be pulled locally using the same tag.

  • Elastic beanstalk: Failed to buld docker image
  • AWS S3 Elastic Beanstalk Docker - /dev/fus: Operation not permitted
  • EFS volume not mounted on Docker container on Elastic Beanstalk
  • why is my elastic beanstalk instance being replaced when I deploy?
  • Deploying Docker to AWS Elastic Beanstalk — how to forward port to host? (port binding)
  • Passing environment variables to Docker containers
  • Airflow: Could not send worker log to S3
  • What is the proper set up for Maven to communicate with Docker daemon on Mac?
  • docker: cannot map “/var/run/mysqld/mysqld.sock”?
  • Invalid type in docker-compose volume
  • Any conflicts using Docker Toolbox for Mac and Already-Installed Virtualbox?
  • How to increase the swap space available in the boot2docker virtual machine?
  • One Solution collect form web for “Failed to pull Docker image Beanstalk”

    This turned out to be an authentication failure with the remote docker api

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.