【问题标题】:Failed to pull Docker image Beanstalk无法拉取 Docker 镜像 Beanstalk
【发布时间】:2015-04-12 01:58:46
【问题描述】:

使用 eb_deployer 部署的每个 ElasticBeanstalk 都会失败并出现以下错误:

[2015-02-11T15:02:31.551Z] INFO  [6528]  - [CMD- Startup/StartupStage0/AppDeployPreHook/03build.sh] : Starting activity...
[2015-02-11T15:02:33.280Z] INFO  [6528]  - [CMD- Startup/StartupStage0/AppDeployPreHook/03build.sh] : Activity execution failed, because: command failed with error code 1: /opt/elasticbeanstalk/hooks/appdeploy/pre/03build.sh
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!'

Docker镜像是肯定存在的,可以用同一个标签拉取到本地。

【问题讨论】:

    标签: docker amazon-elastic-beanstalk


    【解决方案1】:

    这原来是远程 docker api 的身份验证失败

    【讨论】:

    • 你是怎么解决的?
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2017-09-22
    • 2023-04-03
    • 1970-01-01
    • 1970-01-01
    • 2021-02-03
    • 1970-01-01
    • 2019-02-14
    相关资源
    最近更新 更多