Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Elastic Beanstalk docker error

I'm getting a cryptic error when trying to update the configuration of a single-container Docker application. Anybody have an idea of what might cause this, or how to go about debugging it?

ERROR [3009]  : Command execution failed:
   [CMD-ConfigDeploy/ConfigDeployStage0/ConfigDeployPreHook/00run.sh] 
   command failed with error code 1:
   /opt/elasticbeanstalk/hooks/configdeploy/pre/00run.sh
   docker: "tag" requires 2 arguments. See 'docker tag --help'.
   (ElasticBeanstalk::ActivityFatalError)
like image 779
RussSchick Avatar asked Jul 18 '15 21:07

RussSchick


1 Answers

You can provide your environment variables on the command line in the eb create and eb clone commands. These are set before the create or clone task so the environment will come up with them set.

See the eb cli help. For example...

$ eb create -h ... --envvars ENVVARS a comma-separated list of environment variables as key=value pairs ...

like image 105
Kevin Avatar answered Oct 04 '22 07:10

Kevin